Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Exception raised during rendering: java.lang.System.arraycopy([CI[CII)V Exception details are logged in Window > Show View > Error Log

Tags:

android

I can't find any other android API in the project. it is showing only API 20 Android 4.4W. how do i overcome from it?

like image 913
Siddesh B S Avatar asked Sep 03 '14 04:09

Siddesh B S


4 Answers

The issue is because you are using the API level 20 for wearable devices. You need to download other sdk through the Android SDK Manager.

In Eclipse, open windows->android sdk manager->select Android 4.4.2 and check Android sdk and ARM system image and click install packages

Now you have the API level 19 source code so eclipse will now be able to render the views

Now go to the graphical layout tab of the layout and change the android version from 20 to 19.

like image 71
Karan Rampal Avatar answered Nov 09 '22 19:11

Karan Rampal


In Android Studio you just need to change your graphical layout API from 4.4w to 4.4.2 as in the picture below.

enter image description here

like image 45
Sabri Meviş Avatar answered Nov 09 '22 20:11

Sabri Meviş


Within the eclipse you can change the API version of the design layout. This worked for me.

enter image description here

like image 8
Vinod Joshi Avatar answered Nov 09 '22 21:11

Vinod Joshi


If you using Android Studio 1 Open your Build.gradle 2 change values as you need like this

android { compileSdkVersion 17 buildToolsVersion '19.1.0'

defaultConfig {
    applicationId "com.example.xxx.xxxx"
    minSdkVersion 16
    targetSdkVersion 17
    versionCode 1
    versionName "1.0"
}

3 press Sync Project with gradle file.. 4 if you do not have that API it will ask you to download.. rebuild the project..

like image 1
sansalk Avatar answered Nov 09 '22 21:11

sansalk