I've created a widget that works fine on my Galaxy Nexus via Eclipse, however when I create a signed apk, uninstall the debug version from the phone, and install the new apk and try to place it on the homescreen I get the following Toast message: "App isn't installed".
Any ideas why this happens?
Thanks
Actually I've just found out what went wrong. I'm making several widgets based on the same code, and right before building I refactored and changed the package name. I missed updating the "android:configure" field in the appwidget-provider xml, so this was causing the configuration activity to "not be found".
I just had this problem and the solution was something I don't see mentioned here: I had changed the activity I used to configure my widget, but had forgotten to add an intent filter for it to my AndroidManifest.xml.
<activity android:name="com.mypackage.ConfigureWidget"
android:label="@string/configureWidget">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
</intent-filter>
</activity>
The same problem was in my app also. What I did is that I just remove the "android:configure" field from the appwidget-provider xml and it started continue work properly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With