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
Post a Comment