Android. Can't install developed APK on phone when Ok on emulator
I am developing android application under Eclipse. It is running in emulator just fine under different platforms. I have checked android version on friend's telephone, also in eclipse and successfully ran it on emulator too. Created unsigned application package using eclipse. Installing on phone. After installation he got error message "app not installed" and button 'Done'. Uninstaller found my program 开发者_JAVA百科and got error '%program name% failed: invalid URI'. In my xml files I didn;t see nothing that can help with this error.. What does it mean? :(
An unsigned apk can't be installed anywhere.
You have three solutions:
- go into the
bin
folder and use the apk that is stored there (this apk is signed with your debug certificate) - connect the phone via usb to your pc and install it using eclipse (Run as -> Android Application -> select the device)
- Create a signed application. You need a valid keystore for that (Eclipse helps you creating one)
Tips at the end: Give the community something back by accept answers on your previous questions!
精彩评论