Skip to main content

Featured

Android studio “SDK tools directory is missing”

Following 2 possible solutions will resolve this problem :  Solution1 : To fix the problem, it was required that I list the path to my corporate PAC file by using  Configure -> "Appearance and Behavior" -> System Settings -> HTTP Proxy . I selected "Automatic proxy configuration url:" Delete your  ~/.Android*  folders (losing all of your settings :/). Run Android Studio. It will show you a welcome wizard where it tries to download the SDK again (and fails due to my rubbish internet). Click the X on the wizard window. That will enable you to get to the normal welcome dialog. Go to Settings->Project Defaults->Project Structure and change the Android SDK location to the correct one. Solution 2 : To fix the problem, it was required that I list the path to my corporate PAC file by using  Configure -> "Appearance and Behavior" -> System Settings -> HTTP Proxy . I selected "Automatic proxy configuration url:&quo

No resource found that matches the given name android:Widget.Material.ActionButton in appcompat-v7 library file

To resolve this issue in appcompat-v7 library ,follow below steps:
1.Right Click on appcompat_v7 library and select Properties
2.Now, Click on Android Option, Set Project Build Target as Android 5.0 (API level 21)/Android 5.0.1 and click on Apply Changes.
3.Now go to project.properties file under appcompat_v7 library,
4.Set the project target as : target=android-21 ,and if it is available bydefault then no need to change.
5.Now Clean + Build appcompat_v7 library and your projects.

After all this, Make sure the value for target (which tells the target android version) in project.properties file of both your project folder and appcompat_v7 folder is same (preferably the latest).
: inside 'your_project'/project.properties
target=android-21 android.library.reference.1=../appcompat_v7
and
: inside appcompat_v7/project.properties
target=android-21 android.library=true
and after this don't forget to clean your project .

Comments