Good afternoon ,
My Moto X stopped working calls , when I call , immediately after it appears "call ended " , but it works 3G and 4G , I've been all ROMs, downgrade to KK and is now in 5.1 , IMEI is also normal and Baseband . Any suggestions? I have unlocked Bootloader .
Tks
I've done the downgrade of Android 5.1 to the 4.4.2 , and not packed , it is working as follows for links 2G , 3G and 4G do not work , internet all work and SMS only in 4G network , I will attach some prints how is the settings , remembering that my device is the XT1097 - Brazil .
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Please
Sent from my XT1097 using XDA Free mobile app
fullzinn said:
Please
Sent from my XT1097 using XDA Free mobile app
Click to expand...
Click to collapse
Just in case you haven't already tried this:
https://motorola-global-portal.cust...prod_answer_detail/a_id/101078/p/30,6720,9197
(Besides I just posted this for someone who actually wanted to know how to do it and it was still in my paste buffer.)
Normally I would say clear the data for your dialer program and reboot but if the issue jumps from ROM to ROM -- and across versions of Android -- then it has to be something other than stored dialer data. Did you flash a different modem[1-2].img during any burn operations? With my ROM fastboot is used to erase the modems when restoring to stock. Like this:
<flashing>
<header>
<phone_model model="PRO_CFC_SPRINT" />
<software_version version="ghost_repw-user 4.4.2 KXA20.16-1.24-1.12 12 release-keysMSM8960PRO_BP_2323.034.116.00R" />
<sparsing enabled="false" />
<interfaces>
<interface name="AP" />
</interfaces>
</header>
<steps interface="AP">
<step operation="getvar" var="max-download-size" />
<step operation="oem" var="fb_mode_set" />
<step operation="flash" partition="partition" filename="gpt.bin" MD5="AF9E8300E6FEFD73F4233EC9C68CE472" />
<step operation="flash" partition="motoboot" filename="motoboot.img" MD5="32232CAE7CA8459BD52FB9FC9A0E57F6" />
<step operation="flash" partition="logo" filename="logo.bin" MD5="5C8C2A8BA7F9E6F77DF5BEC5481A31A9" />
<step operation="flash" partition="boot" filename="boot.img" MD5="95F30EAE4974DD30C2C3C47125F2EEB6" />
<step operation="flash" partition="recovery" filename="recovery.img" MD5="038B4F0F1236D726D08AF2F324024434" />
<step operation="flash" partition="system" filename="system.img" MD5="450334F8B9AD09566BD85A6EAEAE12D3" />
<step operation="flash" partition="modem" filename="NON-HLOS.bin" MD5="36EB8D4EE0447B8209F3FAEEFA2C5F1B" />
<step operation="erase" partition="modemst1" />
<step operation="erase" partition="modemst2" />
<step operation="flash" partition="fsg" filename="fsg.mbn" MD5="905296F333580725CC98DC7696165CC4" />
<step operation="erase" partition="cache" />
<step operation="erase" partition="userdata" />
<step operation="erase" partition="customize" />
<step operation="erase" partition="clogo" />
<step operation="oem" var="config carrier sprint" />
<step operation="oem" var="fb_mode_clear" />
</steps>
</flashing>
-=-=-=-=-=-=-=-=-=-=-==-=-=-==-=-
Have you done a full restore to stock yet? Do you have the .xml file that goes with your SBF?
Related
I find something interesting in i909's rom
Through the AndroidManifest.xml, the videoplayer seems to support more file formats than JPY rom. I try to replace the default one on jpy with it, but I failed, although I have repack the classes.dex. Maybe there are some so files which I failed to account.
So, how can I make sure which so files the apk involves? Thanks!
Code:
- <intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http" />
<data android:mimeType="video/mp4" />
<data android:mimeType="video/mpeg4" />
<data android:mimeType="video/3gp" />
<data android:mimeType="video/3gpp" />
<data android:mimeType="video/3gpp2" />
<data android:mimeType="video/x-ms-asf" />
<data android:mimeType="video/x-ms-wmv" />
<data android:mimeType="video/flv" />
<data android:mimeType="video/mkv" />
<data android:mimeType="video/divx" />
<data android:mimeType="video/avi" />
<data android:mimeType="video/msvideo" />
<data android:mimeType="video/x-msvideo" />
<data android:mimeType="video/vnd.avi" />
<data android:mimeType="video/x-ms-real" />
</intent-filter>
Hello guys .I am back again with a new guide.This time again with settings.
Things Required.
1.Patience.
2.A good text editor.I recommend Notepad++.
3.A bit knowledge about android modding.
Click to expand...
Click to collapse
HERE IS WHAT WE ARE GOING TO DO.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
So Lets start.
Click to expand...
Click to collapse
STEP 1
Decompile your Settings.apk.
Click to expand...
Click to collapse
STEP 2
Open
Code:
smali/com/android/settings/IconPreferenceScreen.smali
Click to expand...
Click to collapse
STEP 3
Delete this in IconPreferenceScreen.smali
Code:
.line 37
const v1, 0x7f030039 <<<< IT MAY DIFFER FROM DEVICE TO DEVICE.
invoke-virtual {p0, v1}, Lcom/android/settings/IconPreferenceScreen;->setLayoutResource(I)V
Click to expand...
Click to collapse
STEP 4
Merge attached files with your Settings.apk
Click to expand...
Click to collapse
STEP 5
Now open settings.xml in
Code:
res/xml/settings.xml
Click to expand...
Click to collapse
STEP 6
Add this to all icon preferences like this in order.
Code:
android:layout="@layout/1" android:summary="@string/1"
FOR EXAMPLE:
FOR WIRELESS AND NETWORKS ADD THIS
Code:
android:layout="@layout/1" android:summary="@string/1"
FOR CALL SETTINGS OR SO ADD THIS
Code:
android:layout="@layout/2" android:summary="@string/2"
Click to expand...
Click to collapse
STEP 7
So it will look like this after modding.
Code:
<com.android.settings.IconPreferenceScreen android:layout="@layout/1" android:summary="1" android:title="@string/call_settings_title" android:key="call_settings" settings:icon="@drawable/ic_settings_call">
<intent android:targetPackage="com.android.phone" android:action="android.intent.action.MAIN" android:targetClass="com.android.phone.CallFeaturesSetting" />
</com.android.settings.IconPreferenceScreen>
Click to expand...
Click to collapse
STEP 8
For better understanding here is my settings.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/settings_label" android:key="parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.android.settings.IconPreferenceScreen android:layout="@layout/1" android:summary="san" android:title="@string/radio_controls_title" settings:icon="@drawable/ic_settings_wireless">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.WirelessSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/2" android:summary="san" android:title="@string/call_settings_title" android:key="call_settings" settings:icon="@drawable/ic_settings_call">
<intent android:targetPackage="com.android.phone" android:action="android.intent.action.MAIN" android:targetClass="com.android.phone.CallFeaturesSetting" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/3" android:summary="san" android:title="@string/cm_settings_title" settings:icon="@drawable/ic_cyanogenmod">
<intent android:targetPackage="com.cyanogenmod.cmparts" android:action="android.intent.action.MAIN" android:targetClass="com.cyanogenmod.cmparts.activities.MainActivity" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/4" android:summary="san" android:title="@string/device_settings_title" android:key="device_settings" settings:icon="@drawable/ic_settings_device">
<intent android:action="com.cyanogenmod.action.LAUNCH_DEVICE_SETTINGS" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/5" android:summary="san" android:title="@string/launcher_settings_title" android:key="launcher_settings" settings:icon="@drawable/ic_settings_launcher">
<intent android:targetPackage="com.android.launcher" android:action="android.intent.action.MAIN" android:targetClass="com.android.launcher.MyLauncherSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/6" android:summary="san" android:title="@string/sound_settings_title" settings:icon="@drawable/ic_settings_sound">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.SoundSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/7" android:summary="san" android:title="@string/profile_settings_title" settings:icon="@drawable/ic_settings_profile">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.ProfileList" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/8" android:summary="san" android:title="@string/display_settings_title" settings:icon="@drawable/ic_settings_display">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DisplaySettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/9" android:summary="san" android:title="@string/security_settings_title" android:key="security_settings" settings:icon="@drawable/ic_settings_security">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.SecuritySettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/10" android:summary="san" android:title="@string/applications_settings" android:key="applications_settings" settings:icon="@drawable/ic_settings_applications">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.ApplicationSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/11" android:summary="san" android:title="@string/sync_settings" android:key="sync_settings" settings:icon="@drawable/ic_settings_sync">
<intent android:action="android.settings.SYNC_SETTINGS" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/12" android:summary="san" android:title="@string/privacy_settings" android:key="privacy_settings" settings:icon="@drawable/ic_settings_privacy">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.PrivacySettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/13" android:summary="san" android:title="@string/storage_settings" settings:icon="@drawable/ic_settings_storage">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.deviceinfo.Memory" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/14" android:summary="san" android:title="@string/language_settings" settings:icon="@drawable/ic_settings_language">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.LanguageSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/15" android:summary="san" android:title="@string/voice_input_output_settings" settings:icon="@drawable/ic_settings_speech">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.VoiceInputOutputSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/16" android:summary="san" android:title="@string/accessibility_settings" settings:icon="@drawable/ic_settings_accessibility">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.AccessibilitySettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/17" android:summary="san" android:title="@string/dock_settings" android:key="dock_settings" settings:icon="@drawable/ic_settings_dock">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DockSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/18" android:summary="san" android:title="@string/date_and_time_settings_title" settings:icon="@drawable/ic_settings_date_time">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DateTimeSettings" />
</com.android.settings.IconPreferenceScreen>
<com.android.settings.IconPreferenceScreen android:layout="@layout/19" android:summary="san" android:title="@string/about_settings" settings:icon="@drawable/ic_settings_about">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.DeviceInfoSettings" />
</com.android.settings.IconPreferenceScreen>
</PreferenceScreen>
Click to expand...
Click to collapse
STEP 9
Compile back your apk.
Click to expand...
Click to collapse
STEP 10
Move it to system/app with permissions rwrr or install via systemappsinstaller.
Click to expand...
Click to collapse
Attached Files
SETTINGS MOD BY san122
MODDED CM7 SETTINGS[FOR REFERENCE]
Click to expand...
Click to collapse
...........
Important Notes;
1.You can change backgrounds in xmlsi.e 1,2,3.....
2.Its much better to mod it yourself raher than requesting others.
Click to expand...
Click to collapse
CREDITS::
san122 [For making it possible]
Aniket Rane [For the idea]
b16h22 [For evo app}
Click to expand...
Click to collapse
Hmmm, nice mod, full color. It look like windows phone.. will try it in my device. Thanks for your guide :thumbup:
Thread cleaned.
If people aren't interested in this guide or the look of the guide, click the back button. It's pointless and useless to post about something you haven't used or aren't interested in using.
People make these guides and such for free and no one here is entitled to anything.
Carry on...
Good guide reminds me of paranoid engine on jellybean
Sent from my Nexus 4
Hello guys, i'm here for presenting a new one (old but gold from GB devices), it was adapted from my own ROM for GT-S5360 http://forum.xda-developers.com/showthread.php?t=2231324 i'm already trying in my phone (KK 4.4.2) and it works good i'm believe it will works on any roms with UMS (USB Mass Storage) feature. so, try it and give feedback for who want like this
look this below (for GB user, its look familiar )
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
so let's begin,
What you need?
1. tool for compile-decompile
2. framework-res
How-to:
1. decompile framework-res.apk
2. go to res/layout/usb_storage_activity.xml
3. replace all the lines with this one
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:gravity="center" android:id="@id/main" android:padding="18.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:layout_gravity="center_vertical" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="45.0dip">
<Button android:layout_gravity="center_horizontal" android:id="@id/mount_button" android:background="@drawable/usb_android" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<Button android:layout_gravity="center_horizontal" android:id="@id/unmount_button" android:background="@drawable/usb_android_connected" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/icon" android:layout_width="0.0dip" android:layout_height="0.0dip" android:src="@color/transparent" android:layout_centerHorizontal="true" />
</LinearLayout>
<LinearLayout android:layout_gravity="center_vertical" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true">
<TextView android:textSize="24.0sp" android:gravity="center" android:id="@id/banner" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="5.0dip" android:layout_marginBottom="10.0dip" android:text="@string/usb_storage_title" android:layout_below="@id/icon" android:layout_centerHorizontal="true" />
<TextView android:textSize="14.0sp" android:gravity="center" android:id="@id/message" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="5.0dip" android:layout_marginBottom="10.0dip" android:text="@string/usb_storage_message" android:layout_below="@id/banner" />
</LinearLayout>
<RelativeLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="120.0dip" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true">
<ProgressBar android:id="@id/progress" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" style="?android:attr/progressBarStyle" />
</RelativeLayout>
</RelativeLayout>
4. done then compile.
5. flash it
NB:
1. always make a nandroid backup before doing anything
2. some issues happened maybe in the your layout. you need to fix it your self cz this is for HDPI device
3. sorry if my english so bad
credit:
i don't know who fisrt make this, cz this has been a long time. so i just can say thanks!
Hi, i'm very very very messed up. Ok let's explain. I want create listview using this layout code.
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_height="match_parent">
<ImageView
android:layout_width="65dp"
android:layout_height="65dp"
android:id="@+id/imgpez"
android:layout_alignParentTop="true"
android:layout_alignParentStart="true"
android:layout_marginTop="20dp"
android:layout_marginLeft="20dp"
android:layout_alignParentLeft="true"
android:src="@mipmap/ic_launcher" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="CODICE SAG"
android:textColor="#000000"
android:layout_marginLeft="30dp"
android:id="@+id/txtcodsag"
android:layout_marginTop="40dp"
android:layout_toRightOf="@+id/imgpez"
android:layout_toEndOf="@+id/imgpez" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="CODICE OE"
android:id="@+id/txtcodoe"
android:textColor="#000000"
android:layout_marginLeft="30dp"
android:layout_marginTop="40dp"
android:layout_toRightOf="@+id/imgpez"
android:layout_toEndOf="@+id/imgpez" />
<ImageView
android:layout_width="65dp"
android:layout_height="65dp"
android:id="@+id/imgdesc"
android:layout_marginTop="20dp"
android:layout_marginLeft="30dp"
android:layout_toRightOf="@+id/txtcodoe"
android:layout_toEndOf="@+id/txtcodoe"
android:src="@mipmap/ic_launcher" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="N"
android:id="@+id/txtN"
android:layout_marginTop="40dp"
android:textColor="#000000"
android:layout_marginLeft="30dp"
android:layout_toRightOf="@+id/imgdesc"
android:layout_toEndOf="@+id/imgdesc" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="CS-CT"
android:id="@+id/txtCSCT"
android:layout_marginTop="40dp"
android:textColor="#000000"
android:layout_marginLeft="30dp"
android:layout_toRightOf="@+id/txtN"
android:layout_toEndOf="@+id/txtN" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="A"
android:id="@+id/txtA"
android:textColor="#000000"
android:layout_marginTop="40dp"
android:layout_marginLeft="30dp"
android:layout_toRightOf="@+id/txtCSCT"
android:layout_toEndOf="@+id/txtCSCT" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="B"
android:id="@+id/txtB"
android:textColor="#000000"
android:layout_marginTop="40dp"
android:layout_marginLeft="30dp"
android:layout_toRightOf="@+id/txtA"
android:layout_toEndOf="@+id/txtA" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Dettagli"
android:textColor="#000000"
android:id="@+id/apridettagli"
android:layout_alignBottom="@+id/imgdesc"
android:layout_toRightOf="@+id/txtB"
android:layout_toEndOf="@+id/txtB" />
</RelativeLayout>
This is layout:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How can i build a listview from database with item clickable? Each item contains a specific id to select from database and show into a dialogbox.
Table fields:
id(for item clickable to open in a dialogbox for showing details) descrizione (description) text imgdescrizione (imgdescription) and imgpezzo (imgpiece) are name of image to pick from drawable folder. from codsag to cod_marca are text.
How can i load specific image into a listview? In the layout image ou can see my few drawable items.
I'm first time of developing android...and i would learn from you!!
Good morning and thanks...
Cris
Thanks for any reply. Thanks thanks thanks thanks.....
This forum is a graveyard field!
Learn it from w3school ?
Sent from my W90 using xda Forums PRO
Hey Friends,
I am attempting to export a Unity Android Build and then import it into Android Studios.
The Catch here is that the exported version from Unity has to be in Gradle format so that a Gradle build machine could make a build with the project immediately, without first opening it in Android Studios.
My current issue is it seems to not be reading my apps .iml file properly?
I get this error when importing my assembled project into Android Studios:
Error:FAILURE: Build failed with an exception.
* What went wrong:
Task 'generateDebugSources' not found in project ':app'.
* Try:
Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Thanks for your time and assistance, my iml to follow:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.id=":app" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" external.system.module.group="AndroidApp" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="android-gradle" name="Android-Gradle">
<configuration>
<option name="GRADLE_PROJECT_PATH" value=":app" />
</configuration>
</facet>
<facet type="android" name="Android">
<configuration>
<option name="SELECTED_BUILD_VARIANT" value="debug" />
<option name="SELECTED_TEST_ARTIFACT" value="_android_test_" />
<option name="ASSEMBLE_TASK_NAME" value="assembleDebug" />
<option name="COMPILE_JAVA_TASK_NAME" value="compileDebugSources" />
<afterSyncTasks>
<task>generateDebugSources</task>
</afterSyncTasks>
<option name="ALLOW_USER_CONFIGURATION" value="false" />
<option name="MANIFEST_FILE_RELATIVE_PATH" value="/src/main/AndroidManifest.xml" />
<option name="RES_FOLDER_RELATIVE_PATH" value="/src/main/res" />
<option name="RES_FOLDERS_RELATIVE_PATH" value="file://$MODULE_DIR$/src/main/res" />
<option name="ASSETS_FOLDER_RELATIVE_PATH" value="/src/main/assets" />
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/build" />
<output-test url="file://$MODULE_DIR$/build" />
<exclude-output />
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.gradle" />
<excludeFolder url="file://$MODULE_DIR$/build" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/assets" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/blame" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/bundles" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/classes" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/dependency-cache" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/mediarouter-v7/23.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/support-v4/23.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-ads-lite/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-ads/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-analytics-impl/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-analytics/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-appindexing/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-appinvite/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-auth-base/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-auth/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-base/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-basement/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-cast/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-drive/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-fitness/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-games/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-gcm/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-identity/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-iid/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-location/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-maps/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-nearby/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-panorama/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-plus/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-safetynet/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-tagmanager-api/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-tagmanager/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-tasks/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-vision/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-wallet/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-wearable/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.firebase/firebase-analytics-impl/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.firebase/firebase-analytics/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.firebase/firebase-auth-common/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.firebase/firebase-auth-module/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.firebase/firebase-auth/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.firebase/firebase-common/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.firebase/firebase-config/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.firebase/firebase-crash/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.firebase/firebase-database-connection/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.firebase/firebase-database/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.firebase/firebase-iid/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.firebase/firebase-messaging/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.firebase/firebase-storage-common/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.firebase/firebase-storage/9.0.0/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental-classes" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental-runtime-classes" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental-safeguard" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental-verifier" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/instant-run-support" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/jniLibs" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/manifests" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/reload-dex" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/res" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/restart-dex" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/rs" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/shaders" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/sourceFolderJavaResources" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/symbols" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/transforms" />
<excludeFolder url="file://$MODULE_DIR$/build/outputs" />
<excludeFolder url="file://$MODULE_DIR$/build/tmp" />
</content>
<orderEntry type="jdk" jdkName="1.7" jdkType="JavaSDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>