Thursday, March 31, 2016

Create Hello-JNI with Android Studio

Create Hello-JNI with Android Studio - Hallo sahabat Google Android Developer Tutorial, Pada Artikel yang anda baca kali ini dengan judul Create Hello-JNI with Android Studio, kami telah mempersiapkan artikel ini dengan baik untuk anda baca dan ambil informasi didalamnya. mudah-mudahan isi postingan yang kami tulis ini dapat anda pahami. baiklah, selamat membaca.

Judul : Create Hello-JNI with Android Studio
link : Create Hello-JNI with Android Studio

Baca juga


Create Hello-JNI with Android Studio

source: https://codelabs.developers.google.com/codelabs/android-studio-jni/index.html?index=..%2F..%2Findex#1

2Create Java Sample App

  1. Find and start Android Studio on your development system:
  • Linux: Run studio.sh from your installed location
  • OSX:  Find studio installation in Application folder, double click to start
If this is the first time you run this version of Android Studio on this system, Android Studio will prompt to import from previous settings, just select “I do not have a previous version of Studio or I do not want to import my settings”, “Welcome to Android Studio” will be displayed.
  1. Select “Start a new Android Studio project”.
  1. On “New Project” page,  change “Application Name” to HelloAndroidJni, and leave the default values for other fields.
  2. Click “Next” all the way to “Finish” to complete application creation.
    This creates an Android “Hello World” Java app; your Android Studio looks like:
  3. (Optional) Connect your Android Device with USB cable if you have device available; otherwise, create an Emulator when Android Studio prompts you in the next step.
  1. Sync , Build  and Run , you will see the following on your target device or Emulator:
  2. Configure the project to use gradle wrapper.
    a) On Mac OS, menu “Android Studio” > “Preferences”.
    b) On Linux, menu “File” > “Settings”.
    c) Then “Build, Execution, Deployment” > “Build Tools” > “Gradle”.
    d) Select “Use Default Gradle wrapper (recommended)”, click “OK”.
  1. Sync , Build  and Run , you should see the same as in step 6.


Demikianlah Artikel Create Hello-JNI with Android Studio

Sekianlah artikel Create Hello-JNI with Android Studio kali ini, mudah-mudahan bisa memberi manfaat untuk anda semua. baiklah, sampai jumpa di postingan artikel lainnya.

Anda sekarang membaca artikel Create Hello-JNI with Android Studio dengan alamat link https://googleandroiddevelopertutorial.blogspot.com/2016/03/create-hello-jni-with-android-studio.html

Artikel Terkait

Create Hello-JNI with Android Studio
4/ 5
Oleh

Berlangganan

Suka dengan artikel di atas? Silakan berlangganan gratis via email