简体   繁体   中英

Android Simple App

I have some problems with the Android developing of applications. I installed the latest SDK from their site, and also I installed the plug-in for NetBeans IDE 7.4, both with no problems. I tried to make a simple app to try to see if it works. I made an emulator for Android 4.4.2. When I run the simple app made (I created the project, and made no modifications), I get this output on the Android development: Package deployment failed with: Unknown failure. and also this on the Android emulator: could not get wglGetExtensionsStringARB, for 8 times. I tried to make some changes already proposed on this site, with no effects.

What should I do? Thank you!

The code source from the mainActivity is:

package com.android.androidapp;
import android.app.Activity;
import android.os.Bundle;

public class MainActivity extends Activity
{
     /** Called when the activity is first created. */
     @Override
     public void onCreate(Bundle savedInstanceState)
     {
           super.onCreate(savedInstanceState);
           setContentView(R.layout.main);
     }
}

I had the same problem and I resolved it by activating the android plugin in Netbeans. To do so, go to tools -> plugins -> installed then check the show details checkbox and search for the android plugins then activate them.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM