java - Package android.os. does not exist Libgdx Netbeans -


when trying create android libgdx application in default imports import android.os.bundle; , netbeans says can't find package named android.os. why happen , how work?

package com.mygdx.game.android;  import android.os.bundle;  import com.badlogic.gdx.backends.android.androidapplication; import com.badlogic.gdx.backends.android.androidapplicationconfiguration; import com.mygdx.game.mygdxgame;  public class androidlauncher extends androidapplication {     protected void oncreate (bundle savedinstancestate) {         super.oncreate(savedinstancestate);         androidapplicationconfiguration config = new androidapplicationconfiguration();         initialize(new mygdxgame(), config);     } } 

it has gradle configuration setup have. you'd better off using either android studio or eclipse. you'll find lot more libgdx support ides. i'd recommend installing android studio , importing project opening gradle config file in android studio.

android studio made gradle.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -