quando uso gradle (versione 2.1 o 2.4) per creare un progetto Android, ottenere l'errore di seguito. Non riesco a trovare com.android.support:multidex:1.0.1
nei miei file.gradle: Impossibile trovare com.android.support:multidex:1.0.1
ERRORI:
config is set to BF688C717A5C3A69FE8CA522643C0A68
config is set to PRODUCT
vcode is set to 151
vname is set to 1.5.1
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':XXXX'.
Could not resolve all dependencies for configuration
':yizhangtong:_rendepeng_lmDebugCompile'.
Could not find com.android.support:multidex:1.0.1.
Searched in the following locations:
.............
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 30.178 secs
Hai trovato una soluzione per questo? A quanto pare sto avendo un problema simile con gradle 2.5 – sttaq
scaricare android-sdk di nuovo (non aggiornare), potrebbe risolvere questo problema. – stackvoid
Trova percorso sdk e percorso multidex come questo; "\ Android-sdk \ Extras \ Android \ m2repository \ com \ Android \ supporto \ multidex". Vedrai le versioni già scaricate. basta usare l'ultima versione. Se si verifica ancora lo stesso errore, controllare la posizione sdk. – kaya