I found lots of questions about this but I have a different problem. The launch icon is not refreshing on a specific phone with Android 10. I tried to changed it and installing it again and does work. The good thing is that on another phone with Android 7 works perfectly fine, even changing the icon.
It's clearly a phone cache problem. The Same flutter app on two different devices present different icons.
This didn't worked:
Uninstalling the App
Shutting down the phone
Turning on the phone
Installing the app
Tried with Visual Studio Code, Android Studio and the Cmd console, it doesn't work. I hoped that the release installation will work but nope.
Any ideas?
Found the problem.
My Android manifest has:
android:icon="#mipmap/ic_launcher"
android:roundIcon="#mipmap/ic_launcher_round"
For Android 10 it was taking the ic_launcher_round, and for the Android 7 the ic_launcher. I would like to know if there is some kind of configuration to change this or it is an Android fixed thing.
Related
I know that this is unlikely the correct place to ask, but I don't know where I should.
So I have a normal macbook from 2016.
I had Android studio installed a couple of months and worked with it just fine for a long time.
Now upgrading to Mojave, Android Studio doesn't open anymore.
I reinstalled it already 5 times, tried everything I found in the internet but still not able to start it.
After installing and moving it to applications It asks me to open it, I accept and then it starts to bounce but never opens.
I have restarted my Mac as well, tried different accounts.
Any one with same issue who solved it or has any idea how it could be solved?
I am having the same issue and according to Android Studio's website, it seems like it only supports up to High Sierra. Scroll to the bottom of this page and look into the system requirements-> https://developer.android.com/studio/
Try to delete (or fix) your custom studio.vmoptions file (if it exists). I had the same problem, until i've noticed, that studio runnable file writes to log, that my studio.vmoptions (in my Users/myusername/Librery/Preferences/AndroidStudio directory) has wrong parameter. Then I just delete this custom studio.vmoptions - and android studio starts normally.
today I tested some app I'm developing with Berlin Upd. 2 on a Sony Z4 tablet with Android 7.
If I press the right Android navigation button a bit longer the device splits the screen 2 two areas and thus shows two apps simultaneously. Seems to be a feature of Android 7+.
Unfortunately my app doesn't like this and is being terminated or terminates itself.
I didn't find any setting on this Sony device to disable the split screen button function.
I found some Android Manifest setting here:
How can I disable multiwindow mode for an Activity in Android N+
But every time I try to add this to the manifest template either for the entire app or for the activity (FMX apps only have one activity) and press F9 to test it on a device (in this case a Nexus 4 to ensure the setting doesn't
have negative effects on older versions) I get a "pa client exited with code 1" failure. When I remove the line from
the manifest template and press F9 everything works as it did before.
Any hints/advice?
I already searched for an app to disable the feature on the Z4, but we only found one for Galaxy S7 which had no effect on the Z4.
The solution is (and the Android documentation doesn't clearly state this requirement for somebody not using Google's preferred language/toolset) to download SDK 24 and Build Tools 24.x in SDK manager. In Delphi Tools/SDK one needs to point to the android-24 folder instead of the android-22 one and then adding this attribute to the node no longer leads to build problems in Delphi and the app cannot be crashed by somebody trying to enter split screen mode.
I have spent hours trying to resolve this issue (including Embarcadero forums and google). Apparently there was a bunch of posts lost on the EDN?. Here is the issue:
I have C++ Android apps that compiled on XE6 that I have migrated over to XE8. With the exception of access violations being thrown now when apps exit (I will post as a seperate issue) the apps launch and the IDE is aware that the app has successfully launched. Both Release and Debug work fine. So why do new apps or sample apps freeze the IDE, regardless of Debug or Release? The "Run" dialog is stuck on the Launching stage, even though the app runs on the Android device. I am using the Galaxy S4 with 4.4.4. After exiting the app on the Android device, the "Run" box stays and the IDE freezes. I tried to duplicate project settings, but may have missed something. Still, a new project should "work". Any thoughts?
BTW (for those watching this post from Embarcadero): The new community.embarcadero.com post method does not work. It tells me the content is empty when it is not. Word counter stays at zero.
I found my own answer. Here is what worked for me:
Add the following to the Run Parameters for Android:
-cleaninstall -debugport=54321 (this number can be changed)
Even when restarting the phone and IDE doesn't work, the above change does, at least so far.
In AndroidManifest.template.xml
between
</activity>
<%activity%>
I insert:
<!-- shryu -->
<activity android:name="com.lamerman.TabbedApplication"
android:configChanges="orientation|keyboard" />
where TabbedApplication is my app name.
After this I compile and rub debugger and this work !!!
I'm using Android 4.4.2, and my need is to revert the screen in landscape mode.
On the previous versions of Android I was able to do this simply setting
ro.sf.hwrotation=180
in build.prop file, under /system.
Searching with google I've discovered that with Android 4.4.x this option is no more availalbe (in fact it doesn't work) .
Does anyone know how to solve this issue in another way?
Thx
Android Emulator Icon in windows 7 does not show in TaskBar..see my Image...
I tried but cant get solution only this found http://code.google.com/p/android/issues/detail?id=21709
But cant Solve problem ...
According the link you posted it appears to be a known bug. Most likely the only solution is to wait for the next version of the ADK Tools to be released by Google.
But after all, it is just a missing icon and doesn't affect the ability to develop using the emulator.