Sketchware-Pro / Sketchware-Pro

Sketchware Pro's sources in Java. Now anyone can contribute to Sketchware Pro.
https://sketchware.pro
Other
863 stars 254 forks source link

Error: No Activity found to handle Intent #388

Closed felischmi2003 closed 2 years ago

felischmi2003 commented 2 years ago

Hello,

After the app build and I open the app, the error message shown in the picture appears.

Please Help, Thanks!

Screenshot_20220512-115712

JavkhlanK commented 2 years ago

What's the project's package name? Does the file MainActivity.java with the same package name exist when you e.g. press Show Source Code?

felischmi2003 commented 2 years ago

The package name is (after changing): com.emcrecords.viciousabyss when I look at the source code, the old package name is still there. I can't select any Java files via the direct source editor to change it....

I have already created a test project, it worked until I use the Intent component....

felischmi2003 commented 2 years ago

Now Chrashed the App after a New debug Build without an Error Exception

JavkhlanK commented 2 years ago

Did you use Sketchware Pro v6.3.0 fix1?

felischmi2003 commented 2 years ago

I use Sketchware Pro v6.4.0 Beta 3

JavkhlanK commented 2 years ago

That's a strangely outdated v6.4.0 test build. Can you try using Sketchware Pro v6.4.0-rc01?

felischmi2003 commented 2 years ago

OK, I'll try this

felischmi2003 commented 2 years ago

Now the app crashes immediately after the build and the message "App keeps quitting"

JavkhlanK commented 2 years ago

Your project uses the YouTube Player View, right?

felischmi2003 commented 2 years ago

No, I connected my project to firebase, I use the Time and Intent components

felischmi2003 commented 2 years ago

I will provide a backup file of my project via the following link so that you can take a look for yourself.

https://get.hidrive.com/7xUv5DuR

khaled-0 commented 2 years ago

I will provide a backup file of my project via the following link so that you can take a look for yourself.

https://get.hidrive.com/7xUv5DuR

  1. Your project doesn't have the application class
  2. You're starting the intent before setting the action

put startActivity after setScreen

khaled-0 commented 2 years ago

And it's not a sketchware issue So it's invalid

hasrat-ali commented 2 years ago

Thanks @khaled-0 for confirmation