Manifest and FC?

DTsEMT

Member
Licensed User
Longtime User
Absolute noob question, I am sure. BUT - having published an app to the Android Market with the old version of B4A, and the project identifier was com.ThisAndThat -

I updated the app, and am told by B4A that I must now name the project "com.thisandthat". That's fine, but the Market will not accept the app as an update with that name - the name has to match the previously published name. Learned my lesson, in future projects will be all lowercase, but for now...

Searching the forum I found a post somewhere that stated it was okay to edit the manifest with a text editor and rename the project. Did so and only changed the name to com.ThisAndThat, and published, and now 6,000+ people are getting an FC when the app starts.

Help! Must I delete the app on the market, and republish? Is there something I need to do in addition?

I have tried Tools->Clean Project and republished, same problem.

:sign0163:
 

DTsEMT

Member
Licensed User
Longtime User
Manifest and FC

Erel,

Thanks so much for your quick response! When I compiled the program, and it installed to my local device, everything ran smoothly.

You're quite right, it was the B4A file I edited, not the manifest. Just to be sure, though, I deleted all the program-generated files and recompiled everything. The APK has been uploaded but the market hasn't shown the update yet, so here's hoping...

With the error-inducing update, the message seems to be this (which, Googling, seems to be caused by renaming stuff):

java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.DTsEMT.DripRateCalc/com.DTsEMT.DripRateCalc.main}: java.lang.ClassNotFoundException: com.DTsEMT.DripRateCalc.main in loader dalvik.system.PathClassLoader[/mnt/asec/com.DTsEMT.DripRateCalc-1/pkg.apk]
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1581)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1675)
at android.app.ActivityThread.access$1500(ActivityThread.java:121)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:943)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3701)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:624)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: com.DTsEMT.DripRateCalc.main in loader dalvik.system.PathClassLoader[/mnt/asec/com.DTsEMT.DripRateCalc-1/pkg.apk]
at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1573)
 
Upvote 0

DTsEMT

Member
Licensed User
Longtime User
Manifest and FC

Resolved - blowing everything out of the water except the B4A file, and recompiling, did the trick. Thanks!
 
Upvote 0
Top