Today, my gradle came up with an error as
aidl is missing
If any of you has faced this, I would like to share as to how I solved it. There are two ways:
1) Right click on the app and select Open Module Settings and in Properties change the Build Tools Version to 22.0.1 from 23.0.0rc1. Click Ok and check, the error might be gone. But, with this method, you are not using the latest gradle version.
2) If you want to stick to using the latest gradle version (23.0.0rc1), you need to change the root gradle file's classpath as follows:
aidl is missing
If any of you has faced this, I would like to share as to how I solved it. There are two ways:
1) Right click on the app and select Open Module Settings and in Properties change the Build Tools Version to 22.0.1 from 23.0.0rc1. Click Ok and check, the error might be gone. But, with this method, you are not using the latest gradle version.
2) If you want to stick to using the latest gradle version (23.0.0rc1), you need to change the root gradle file's classpath as follows:
classpath 'com.android.tools.build:gradle:1.3.0-beta2'
The andriod studio latest version 1.3 preview beta version 2 is the latest that has come out and if you are going to use build toll version 23.0.0rc1 in the module file settings then you need to change accordingly in your root gradle as well.
Note: I will be posting random error fixes that I might have faced, so stay tuned.
No comments:
Post a Comment