Getting Runtime error

Getting prasing error while going to install

If Iā€™m right, you see the error ā€œunable to parse packageā€ while installing your app?
Then, can you say please what is the minimum API level set in Screen1's properties?
If yes, check if itā€™s not higher than the OS into you wanna install it.

If it wouldnā€™t work, maybe

  • Reboot your phone
  • Regenerate the APK
  • Reboot it again (just for sure :joy:)
  • Try to install it again
6 Likes

Need more info. @Daaniiieel is trying to guess. Donā€™t make us guess please.

5 Likes

Did you change the package name after you first install

/Boban

1 Like

Hi Daaniiieel that problem was in the package name that was resolved but now getting an another

ā€œerror runtime error java.lang.Boolean can not be cast to java.lang.Stringā€

Can you tell.what is the problem

You may have a variable as a string and it should be an integer

BLUE boxes from Math are integers . RED from Text are Strings.

2 Likes

make sure your = or etc blocks make sense

You have to look at all the comparison methods to make sure they are logical

2 Likes

Youā€™re trying to set a Boolean value to a ( red block [""]) string, like this:

set something to [ā€œtrueā€]
instead of
set something to [true]

With other words,

Hope this helps, but itā€™s not 100% that this is your problem. If you would show your blocks/ send AIA we could better help You.

5 Likes

Bright_Flash.aia (1.1 MB)

Here is the aia file plz rectify the problem and describe the problem with screenshot I will be glad if you can help me

1 Like

Where are you getting the error? I have no problem at all, it may be device specific

Alrighty here we go:

Whoā€™s having issues with the AIA/Built APK (If yes, continue)

  • I am
  • Iā€™m not
  • Just viewing votes

0 voters

What device do you have (If selected, continue)

  • Samsung
  • LG
  • Wiko
  • Nokia
  • Not listed, reply with device
  • Just viewing votes

0 voters

Whatā€™s your Android version

  • Android 9
  • Android 8
  • Android 7
  • Android 6
  • Android 5
  • Android 4
  • Just viewing votes

0 voters

1 Like

Please add Xiaomi devices to the poll, maybe separating pure android and MIUI devices would also be good.

Itā€™s too late. Nature has it now. By the way, I said if youā€™re not having the issue, then donā€™t continueā€¦

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.