Android studio problem "Gradle project sync failed"

themichtoman57

New member
Jan 25, 2017
2
0
0
Visit site
Hello everyone, I just started with Android studio and I have a small problem, I explain:

When I import my project into Android Studio version 2.2.3 I get this error message:

Error: Can not set the value of read-only property 'jniFolders' for task ': android: packageDebug' of type com.android.build.gradle.tasks.PackageApplication.

I checked several forums to find a solution like adding this line "jniLibs.srcDir new File (buildDir, 'lib')" in my Build.gradle
Or else to update the build.gradle but nothing done! I still have this error message displayed!

I also realized when I import the project into Android 1.5.1 studio works perfectly.
If anyone had a solution to this little problem this could help me.
Thank you in advance for your answers.
 

Trending Posts

Forum statistics

Threads
941,546
Messages
6,909,353
Members
3,157,965
Latest member
zeropercent