0

Due to my business trips, I would use my professional laptop for improving my skills in Android development. I don't have administrator rights, so I installed Eclipse and ADT plugin. Sadly, I had few errors when creating new Android Application Project. For exemple, for creating a new project with blank activity with fragment ; min SDK API 11 ; compile with API 18 ; target API 18, I had 50+ errors like : ...\WorkSpace\appcompat_v7\res\values-v21\themes_base.xml:146: error: Error: No resource found that matches the given name: attr 'android:windowElevation'.

I also had this king of error : Error retrieving parent for item:No resource found that matches the given name 'Theme.AppCompat.Light'.

I tried few tips to solve problems using appcompat :

I reinstalled Eclipse and ADT plugin, but nothing to do... I'm becoming crazy !

I also tried to install Android Studio using zip version, but I'm facing another issue : "No JVM installation found. Please install a 64-bit JDK. If you have already a JDK installed, define a JAVA_HOME variable in (...)."

Thanks in advance for your help.

Fred

Community
  • 1
  • 1
Fred
  • 173
  • 1
  • 3
  • 14
  • use android studio – Shubhank Jun 07 '16 at 19:51
  • If you are compiling with API 18, you should not have a values-21 file being referenced. – OneCricketeer Jun 07 '16 at 19:51
  • Android Studio doesnt require admin rights, as far as I know. You can just extract the executable where ever. http://tools.android.com/download/studio/stable – OneCricketeer Jun 07 '16 at 19:54
  • I'm looking for Android Studio zipping version. – Fred Jun 07 '16 at 19:54
  • there is no need to install Android Studio, just extract zip file -> https://developer.android.com/studio/index.html?hl=ru#downloads – Viktor Yakunin Jun 07 '16 at 19:57
  • I extracted zip file, went to bin/studio64.exe and I had an error : "No JVM installation found. Please install a 64-bit JDK. If you have already a JDK installed, define a JAVA_HOME variable in (...)." I have already done this step, but I'm still facing this issue. – Fred Jun 07 '16 at 20:02
  • But is it a *64-bit* JDK? – nitind Jun 07 '16 at 20:17
  • that is another question, go to 'project structure' and specify jdk and sdk pathes – Viktor Yakunin Jun 07 '16 at 20:20
  • Android Studio is now running : I reinstalled JDK and I redefined JAVA_HOME. Now I have this problem : java.lang.NullPointerException at android.support.v7.app.WindowDecorActionBar.getDecorToolbar(WindowDecorActionBar.java:240) at android.support.v7.app.WindowDecorActionBar.init(WindowDecorActionBar.java:197) at android.support.v7.app.WindowDecorActionBar. – Fred Jun 07 '16 at 20:42
  • Moreover, I can't install ADB to recognise my HTC in Android Studio. Any idea to bypass this restriction only for installing these drivers ? My phone is well detected by my laptop, but I can't run my app on my phone. – Fred Jun 07 '16 at 20:57
  • I'm stuck : I can't use AVD because I can't install Intel HAXM due to non-admin rights (Please ensure Intel HAXM is properly installed and usable.) AND I can't install ADB to recognize my phone. ==> Any idea ? Thanks for your help, it's better now. – Fred Jun 07 '16 at 21:07

0 Answers0