Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android SDK Manager doesn't work: Download interrupted: "Tag mismatch"

Tags:

android

sdk

I'm getting started on android developing. I've "played" a little bit with eclipse and now I'm trying some online examples dealing with streaming.

The thing is it seems I don't have the packages installed as, while debugging, I got the following error message: Source not found.

So, I tried to get the packages going to the SDK manager, selecting them and clicking Install.

And my problem is the following: I can't install them and don't know why.

like image 378
Fernando Avatar asked Nov 29 '22 00:11

Fernando


2 Answers

The "tag mismatch" error has to do with SSL and security certificates. While I don't know why the SSL is having a problem, in Android SDK manager you can skip using SSL encryption at all by clicking on tools >> options >> and check the box for "force https:// sources to be fetched using http://".

I was able to download the packages that way.

like image 99
tekno Avatar answered Dec 04 '22 13:12

tekno


For me it was all about the Internet connection. Running wifi over 5Ghz/ac was too fast(!?) and the "tag mismatch"-problem was gone when connected through 2.4Ghz.

The same problem and solution applied when installing some new gradle dependencies in Android Studio.

like image 22
hakanostrom Avatar answered Dec 04 '22 14:12

hakanostrom