Faced such a problem: after debugging, the application icon does not appear on the emulator and on the live device. If you go into the settings, then it hangs there, you can only delete it, but I can not restart it. Who knows how to solve this in Android Studio?
- Maybe the Intent filter of activity disappeared in your manifesto - YuriySPb ♦
- everything is ok there, that's not the point. The manifesto has not changed. - Serand
|
1 answer
There may be several options, but there is a sequence that will fix this case in most cases.
We go into the settings and delete the app with handles, or through adb.
Go to build.gradle (desired project):
buildTypes { debug { debuggable true jniDebuggable true } release { debuggable false jniDebuggable false minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } It depends on whether you use the native part or not, otherwise it will be easier. After Tools -> Android -> Enable ADB intergration
After RebuildProject, then, depending on your wishes, you can turn on the integration, but I advise you to first start to check and then change. Should help.
- 2I spent all day on it, did as you just wrote and it all worked right away! You are just GOD, it works !!! You saved me and saved a lot of time, thanks a lot. ☺☺☺ - Serand
- Welcome) ! - Shwarz Andrei
|