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.