Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
331 views
in Technique[技术] by (71.8m points)

java - No cached version of com.android.tools.build:aapt2:3.2.0-alpha18-4804415 available for offline mode

Using android 3.2 canary 18 and getting this error:

No cached version of com.android.tools.build:aapt2:3.2.0-alpha18-4804415 available for offline mode. and the jar file in https://dl.google.com/dl/android/maven2/com/android/tools/build/aapt2/3.2.0-alpha18-4804415/aapt2-3.2.0-alpha18-4804415.jar is deleted

how to fix this?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Try doing this.Settings > Build, Execution, Deployment > Compiler and the Command-line Options if your text field contains --offline remove it


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...