Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to Import Week-2 Test Projects to Android Studio #18

Open
Mehedi-007 opened this issue Apr 30, 2018 · 1 comment
Open

Failed to Import Week-2 Test Projects to Android Studio #18

Mehedi-007 opened this issue Apr 30, 2018 · 1 comment

Comments

@Mehedi-007
Copy link

Failed to import Week-2 Test Projects to Android Studio completely. Please let me know the procedures to import those projects.

My Android Studio version: 3.1.2
Build #AI-173.4720617, built on April 14, 2018
JRE: 1.8.0_152-release-1024-b01 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.3

Gradle version: 4.4.1
Android Plugin version: 3.1.2

Please, help!

@LilyTennant
Copy link

try: Android Studio->Import Project (Gradle, Eclipse, ...)->choose theActivityLab folder as destination directory->uncheck "Create Gradle style module name" and click finish.
then when syncing there will be warnings like "Configuration 'compile' is obsolete and has been replaced" and "minSdk version should not be declared in the android manifest", just substitute "androidTestCompile" with "androidTestImplementation" in build.gradle file and remove sdk version message in AndroidManifest file as those warnings suggest.
I'm not sure if it solves your problem but mine works though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants