Discussion Forums  >  Crashes, Memory Warnings

Replies: 8    Views: 396

yp2201
Lost but trying
Profile
Posts: 52
Reg: Sep 22, 2011
Wolverhampton
1,220
05/01/12 02:16 PM (12 years ago)

Parse error

Hi, I tried opening a dropbox link of my apk. package (BT ver 2.0) on a different device (other than my own) in order to test it- but it came up with a "parse packaging" error- how do I attempt to solve this? I already went to menu> settings> applications> and ticked "unknown sources" to allow third party downloads. Any other solutions recommended? Thanks, Tish.
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
05/01/12 02:22 PM (12 years ago)
Same .apk as used on your device?
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
05/01/12 02:27 PM (12 years ago)
Hi Tish, I've had the exact same problem. No solution, but my theory is that is has to do with the version of Android you are running. Try emailing the apk file to yourself, and installing it by clicking on the attachment. That might work better. Mark
 
yp2201
Lost but trying
Profile
Posts: 52
Reg: Sep 22, 2011
Wolverhampton
1,220
like
05/06/12 10:51 AM (12 years ago)
Sorry I would have replied sooner but was struck down with illness! =( App development was put on hold! @Fred, yes it was the same .apk used on my device. @GoNorthWest, I tried emailing the actual apk file to another phone but the same parse error appeared.. I'll keep trying for a solution/more devices! Let you know what happens! Thanks, Tish.
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
05/06/12 11:41 AM (12 years ago)
If the .apk opened on your device I would think it should work on another device. Have you exported more than one copy of the .apk?
 
yp2201
Lost but trying
Profile
Posts: 52
Reg: Sep 22, 2011
Wolverhampton
1,220
like
05/09/12 06:21 AM (12 years ago)
Hey @Fred, I tried exporting the APK on a few other devices, and it worked- I don't think I checked the version on the first device before hand- it was android 2.1!! So thank you!! *stupid error on my part!* Also, every time the apk is opened up, it opens the old version until the device asks to refresh. How do I change this so that the new one, including the new logo is opened instead? Am I right in thinking I have to re-export the apk?
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
05/09/12 08:09 AM (12 years ago)
Re-exporting alone won't do it. You must update the Config file first then export.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
05/09/12 10:09 AM (12 years ago)
Hi @yp2201, The problem you're having is that the configuration file for your app is out of sync between the buzztouch server, which has the most recent copy, and your local development environment, which has a copy of the config file that existed when you downloaded your source package. To fix this, need to do this: 1. Go into the control panel for your app, and click on "Show App's Configuration Data" 2. Copy the configuration data 3. On your development environment, find the BT_Config.txt file. For Android, it's in the 'assets' folder of your download package 4. Paste the server configuration data into your BT_Config.txt file and save. You are now in sync! 5. Build a new apk and install. It's probably best to delete the old one before you install the new one. After you do this, run the app, and it should work as designed, without the refresh prompt! Mark
 
yp2201
Lost but trying
Profile
Posts: 52
Reg: Sep 22, 2011
Wolverhampton
1,220
like
05/10/12 07:51 AM (12 years ago)
Thanks guys, you have both been so helpful! I'll get on updating the config.txt file and export the apk again! Tish
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.