I wrote an app and install it on my phone via usb debug mode, all work smooth, but when I generate a signed apk and install it on my phone, two issues occurs:
install fail and log "same package installed". So I deleted the "via-usb apps" and reinstall: problem fixed. BUT! the package name should be same as the via-usb apps and should be able to install "updates" rather than install fail?
after install the apk and launch the app, it crashed somewhere where it didn't crash with the app installed "via-usb", and not only one bugs but many!
Can anyone tell me what should I do? I was using Eclipse before and this Android Studio project is created from others which require me to implement, thus I start to use Android Studio. And of course I create a new key for myself.
[update]
I have just set the release key as debug key, then the generate apk(debug) work smooth just like the usb one, but i found that the apk(release) can install but still occurs the previous one, is there any different between debug and release apk beside the key?
first error log:
06-05 10:15:08.700 28362-28362/? E/WindowManager﹕ Activity com.ababab.ui.activity.LoginActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{42901978 G.E..... R.....ID 0,0-1026,288} that was originally added here