java - LibGDX on Netbeans - android.os does not exist -


there many answers how fix problem on eclipse, none netbeans. libgdx desktop project runs great, android project says "package android.os not exist".

furthermore, when try create new android project in netbeans (not in libgdx, creating new android project), works fine.

there seems problem libgdx/android-sdk communication, after searching answers online, can't seem figure out!

i can post code if needed.

edit: must have changed something, error different now. instead of "android.os not exist", says "cannot find class bundle in android.os". here things i've tried:

  1. creating simple android application using file-->new project works fine , emulated correctly.
  2. creating new libgdx project basic structure still results in error in android project.
  3. when build original android project, no errors found.
  4. when run original android project without avd running, says "error: device not found", build failed.
  5. when run original android project avd running, says build successful, there error:

error type 3 error: activity class {com.mygdx.game.android/com.mygdx.game.android.androidlauncher} not exist.

what's stumping me why says build successful when project says can't find android.os.bundle.

it appears classes in android.os found , usable in netbeans, bundle , many others aren't!

from libgdx's wiki https://github.com/libgdx/libgdx/wiki/gradle-and-netbeans:

running project

in project view:
• android: make sure have device connected. right click android project, tasks -> installdebug .

after doing project ran successfully. (i experiencing same error.)


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -