pbreault / adb-idea

A plugin for Android Studio and Intellij IDEA that speeds up your day to day android development.
Apache License 2.0
2.11k stars 255 forks source link

Start / restart issues when using AndroidManifest merger #18

Closed gbourassa closed 9 years ago

gbourassa commented 9 years ago

I have a case where my AndroidManifest.xml in main is empty, and my actual manifest(s) are in "flavor" folders. This is where my launch activity is declared.

When executing ADB IDEA start (or restart), I get the following error:

ADB IDEA com.mypackage.name could not bet started on XXX.
ADB Output: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.mypackage.name/null } Error type 3 Error: Activity class {com.mypackage.name/null} does not exist.

It doesn't seem to be able to resolve the launch activity name.

pbreault commented 9 years ago

Hey @gbourassa, I have reproduced the bug and I think that I have a working fix. Can you download this snapshot version and confirm that it is working now?

gbourassa commented 9 years ago

Yes, I confirm that this version fixes my issue!

Thanks a lot for the awesome reactivity!

pbreault commented 9 years ago

Fixed in 1.2.0