APK Builder pharsing error

254 views
Skip to first unread message

Mc-CraftTime XGamer

unread,
Oct 17, 2015, 11:29:26 AM10/17/15
to AndroidScript
Hello.
I got an Error after Building my SDK to an APK File.

The Building Process works fine, but if i want to install the finished APK to my phone i get the Error, that there was an Error at the Pharsing the APK Paket.

Its only if i want to Build the APK for the App "Sphere".
If i try to build and install any other App to an APK i dont get any Error and it works just fine.

The App "Sphere" is much bigger that my other Projects ever was....

I got about 20 Layouts in it...

If i start the "Sphere" App inside DroidScript it works fine...
this Problem just started without any reason.. i just edited the "Sphere" App.


I have an "Wiko BLOOM"
 Android KitKat
 1GB RAM

-XGamer11208-

P.S.: Sorry, for my Bad English, i am German.

Dave Smart

unread,
Oct 19, 2015, 4:17:31 AM10/19/15
to AndroidScript
Hi,

What package name are you trying to use?

Mc-CraftTime XGamer

unread,
Oct 19, 2015, 10:53:30 AM10/19/15
to AndroidScript
Hey Dave,

the Problem is not to use a Package...

The Problem is that theres an Error while Installing the Compiled APK on my Phone.

It says: "Error while pharsing the package."

I can send you my SDK and you can try it out...

-XGamr11208-

Dave Smart

unread,
Oct 19, 2015, 10:59:37 AM10/19/15
to AndroidScript
Hi,

Sometimes you get this error if Android does not like your package name.  Try using a simple test package name like this:-

org.mycompany.test

and see what happens.

If you still see the problem, then send us your SPK and I'll try to work out the problem.

Also, make sure you have updated to the latest ApkBuilder using the 'reinstall' button on the plugins page.

Regards
David

Mc-CraftTime XGamer

unread,
Oct 19, 2015, 12:20:39 PM10/19/15
to AndroidScript
Hey,

your solution dont work for me...

Same Error "Error while parsing the package"

Can i send you my SDK Privately?

Chris Hopkin

unread,
Oct 20, 2015, 3:53:08 AM10/20/15
to AndroidScript
Hello

Please make sure you are also using the latest version of DroidScript - 1.29.

You can send us your SPK privately if you prefer not to post it here.

Thanks

Chris

Mc-CraftTime XGamer

unread,
Oct 20, 2015, 6:20:29 AM10/20/15
to AndroidScript
Hello again,

yes i am at DroidScript 1.2.9 and yes i reinstalled the APK Builder.

How do i send privately my SDK?

Email? MSG System?

I didnt found any MSG System here...

-XGamer-

Chris Hopkin

unread,
Oct 20, 2015, 11:04:04 AM10/20/15
to AndroidScript
Hello, are you able to use the desktop version of the forum web site? If you do, you have the option to 'Reply privately to author'.

Chris

Chris Hopkin

unread,
Oct 20, 2015, 12:31:01 PM10/20/15
to AndroidScript
Hello

Just taken a look at you SPK, and I couldn't build an APK at all. Looking through your assets, there is an image with the name 'ProfilLäd.pn' which caused the APK build to fail. Avoid using Unicode characters like 'ä' in asset filenames, and stick to ASCII characters. I renamed the image to 'ProfilLad.png' and I was able to build a valid APK.

Please try renaming the image and that should fix your APK.

Thanks

Chris

Mc-CraftTime XGamer

unread,
Oct 20, 2015, 1:57:24 PM10/20/15
to AndroidScript
Thankyou for the Fix for this.

You know how i could make my TABS at the Login or in the App faster switching?

-XGamer-

Chris Hopkin

unread,
Oct 21, 2015, 7:06:13 AM10/21/15
to AndroidScript
Hi XGamer

Your tab OnTouch callback is being called twice, for both Touch Down & Touch Up events. You can fix this by changing this line:

LHeader.SetOnTouch( LHeaderClick )

to this:

LHeader.SetOnTouchUp( LHeaderClick );

So it will only be called on a Touch Up event, and should make switching between tabs a little faster.

Thanks

Chris
Reply all
Reply to author
Forward
0 new messages