2014년 12월 6일 토요일

“There is a Problem Parsing the Package” ..i need help urgently


i built apk by app inventor2 and test it on companion and it work but 
while installing it on mobile Displayed an Error which says “There is a Problem Parsing the Package
i change the apk and built another one and change the android device but the problem still

--
If you have built your app and are attempting to install it on a phone or tablet and you get the error "unable to parse package," then one of the most likely causes is that your phone/tablet does not have enough free memory to install your app.


Look under your phone/device's settings to see how much available storage you have.  You might need to uninstall some older apps to create the necessary space.  Android installs App Inventor apps in its internal memory, so even if you have space on the external memory (SD card) you might still have problems.

The installation process requires internal memory -- not SD card memory -- and many phones/tablets don't have a lot of that.  Also, the installation process uses more memory than the app itself: about 3 times a much.   If you are having problems, you should check how much free memory you have in your phone or device if you get the parse error, free up some space, and try again.

If your files are very large, you may get the same error.  One of the first things to check is your included assets.  These are files you have added to the project by uploading them in.  They could be graphics, video files, sound files, pdf files and other files.  Make SURE you remove any UNUSED assets.  If you're not using a graphic in your app, remove it before compiling.  If you have a pdf reference file in there, and you don't need it, remove it.  Take out any file you're not actually using in your app from the project.  Not only do they create overhead, unused items seem to also confuse the compiler.

The overall size of your app matters... try to keep it lean!

PLEASE RETURN TO THIS FORUM AFTER TRYING THE ABOVE AND RESPOND TO THIS THREAD AGAIN TO LET US KNOW IF YOUR ISSUE IS RESOLVED OR NOT!  THANKS IN ADVANCE!


--

댓글 없음:

댓글 쓰기