Home > Back-end >  Android studio displays error after importing project from other PC
Android studio displays error after importing project from other PC

Time:03-03

recently I've changed my work pc and now I need to import all data from my old pc to the new one. I've encountered problem while trying to export Android Studio project. I exported it as .zip file, transfered to my second pc and oppened it in Android Studio. Now I get error messages in every file, almost everything is marked red. In AndroidManifest.xml :enter image description here

CodePudding user response:

Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01 Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01

/\ This part repeats a lof of times with different links. I can't post all of it because I don't have reputation for more than 8 links

Checking the license for package Android SDK Build-Tools 30.0.3 in C:\Users\Astro\AppData\Local\Android\Sdk\licenses Warning: License for package Android SDK Build-Tools 30.0.3 not accepted. Checking the license for package Android SDK Platform 30 in C:\Users\Astro\AppData\Local\Android\Sdk\licenses Warning: License for package Android SDK Platform 30 not accepted.

BUILD SUCCESSFUL in 1s

  • Related