Jump to content

Problème Android studio "Gradle project sync failed"


benboss57

Recommended Posts

Bonjour à tous, Je viens tout juste de commencer avec Android studio et j'ai un petit problème, je m'explique :

Lorsque j'importe mon projet dans Android studio version 2.2.3 j'ai ce message d'erreur qui s'affiche :

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

Je me suis renseigné sur plusieurs forums afin de trouver une solution comme ajouter cette ligne "jniLibs.srcDir new File(buildDir, 'lib')" dans mon fichier Build.gradle
ou bien alors de mettre à jour le build.gradle mais rien y fait ! j'ai toujours ce message d'erreur qui s'affiche !

Je me suis aussi rendu compte quand j'importe le projet dans Android studio 1.5.1 tout fonctionne parfaitement.
Si quelqu'un aurais une solution à ce petit problème cela pourrais m'aider.
Merci d'avance pour vos réponses.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...