How to download and import library android v7-appcompat for NetBeans?

3

I would like to know how to import into a project, using NetBeans, the bookstore android v7-appcompat. I am using a code for studies and Net Beans is not recognizing some lines of code.

public class MainActivity extends Activity implements AppCompatCallback { 
                                        /// Não Reconhece AppCompatCallback
private AppCompatDelegate delegate;
         /// Não Reconhece AppCompatDelegate
 }  
    
asked by anonymous 14.01.2016 / 05:55

1 answer

3

As for the download, on the Android developer site there's a guide / a> detailing how to download.

After downloading, to make use of it, expand the project tree in Netbeans and:

  • Right-click the "Libraries" directory;
  • Choose "Add JAR / Folder";
  • Browse to the directory where the .jar file is located and select it.

Once this is done, you will be able to use .jar classes in your project.

    
14.01.2016 / 06:16