coder_For_Life22
coder_For_Life22

Reputation: 26971

Android Creating seperate .apk while installing

This error randomly started happening after i made a new project and copied some files over.

 Caused by: java.lang.ClassNotFoundException: com.fttech.hh.MenuActivity in loader dalvik.system.PathClassLoader[/data/app/com.fttech.hh-1.apk]

As you see hh-1.apk should be hh.apk not hh-1.apk. But for some reason each time i try to load run it i get the ClassNotFoundError.

Anyone else run into this issue?

Upvotes: 1

Views: 64

Answers (1)

Squonk
Squonk

Reputation: 48871

Yes I've seen this a while ago when debugging using my phone connected to eclipse.

I have no idea what caused it but in the end I simply manually un-installed the app from the phone, searched for any instance of the apk and the -1.apk and deleted them, cleaned the project and started again.

It didn't explain anything to me as to what caused it but it all started to work again and I haven't seen it happen since.

Upvotes: 1

Related Questions