FileNotFoundException AndroidManifest.xml

I am working on my first Android application and got it to work in an emulator, but I can not get it to work on a real device (myTouch works a cupcake).

I placed the application on my website, accessible by reference with the type attribute set to , and I also added that the mime type is for apache (and restarted it). I can download the application using my phone, but when I try to install it, I get an error message. application/vnd.android.package-archive

I checked that the apk file actually has it, which is.

I signed the apk file with a private key.

I tried the same process on the emulator (booted through the network) and had the same negative result. The log provides additional information, mainly when trying to upload a file AndroidManifest.xmlexists FileNotFoundException.

I studied installing the application via usb, but did not find a way to do this.

All the documentation that I came across is a lot of gloss over installing the application on your own phone, so I think it's easy, and I just missed something.

As the last bit of information ... I am developing with Eclipse 3.5 on Ubuntu and Java 6.

Does anyone have any suggestions?

+3
source share
2 answers

"commonsware.com", , ; , . , -... . , apk.

0

USB, adb install path/to/apk.

. Android Debug Bridge (adb) > .

+3

Source: https://habr.com/ru/post/1715587/


All Articles