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

Can't import the project to Android Studio #2

Open
AndroidDeveloperLB opened this issue Oct 24, 2014 · 14 comments
Open

Can't import the project to Android Studio #2

AndroidDeveloperLB opened this issue Oct 24, 2014 · 14 comments

Comments

@AndroidDeveloperLB
Copy link

I get this error:
Error:Android Source Generator: [app] AndroidManifest.xml file not found

I've tried updating Android Studio to v0.8.14 and it still doesn't work.
Not only that, but when importing, it doesn't show any source files:
untitled20141024154236
What's going on?

@fernandodev
Copy link

  1. remove line 17 from app/build.gradle
  2. setup your ANDROID_HOME=<android-sdk-path> env variable
  3. change minSdk to 19 or 17
  4. Do a gradle installDebug from the console

@AndroidDeveloperLB
Copy link
Author

@fernandodev Why does it occur? Doesn't Android-Studio suppose to get everything on its own?
It works fine with other projects on Github...

Anyway, about the steps:

  1. removed now.
  2. Already set.
  3. Here's the current file content:
    apply plugin: 'com.android.application'

android {
compileSdkVersion 'android-21'
buildToolsVersion "21.0.2"

defaultConfig {
    applicationId "mindmine.com.welcometol"
    minSdkVersion '19'
    targetSdkVersion '21'
    versionCode 1
    versionName "1.0"
}
buildTypes {
    release {
        runProguard false
    }
}

}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:recyclerview-v7:21.+'
compile 'com.android.support:cardview-v7:21.+'
}

4.How? I don't have it in the paths, so I can't reach it:
'gradle' is not recognized as an internal or external command, operable program or batch file.

Can't Android Studio compile the project on its own? I miss Eclipse... :(

@fernandodev
Copy link

@AndroidDeveloperLB sorry. I already have installed Gradle. But you can use ./gradlew installDebug to build.

I haven't tried to import using Android Studio or Eclipse. But I believe that after changes in build.gradle may be it'll be possible to import using default Android Studio importer.

@AndroidDeveloperLB
Copy link
Author

Can you please update the library so that we could try it out without special steps?

@joevo2
Copy link

joevo2 commented Mar 26, 2015

I submited a pull request #5 it works on my android studio nicely now just import it

@AndroidDeveloperLB
Copy link
Author

@joevo2 Now I get this weird error:
Clone failed
unable to access 'https://github.com/rdrobinson3/WelcomeToL.git/': Failed connect to github.com:443; No error

@joevo2
Copy link

joevo2 commented Mar 27, 2015

I think something to do with github.com just now I experienced that too on its site maybe you try again? Or download it as zip? I meant my fork?

@AndroidDeveloperLB
Copy link
Author

@joevo2 How do I get the fork you've made?

@joevo2
Copy link

joevo2 commented Mar 27, 2015

@joevo2
Copy link

joevo2 commented Mar 27, 2015

Let me know if it works or not :)

@AndroidDeveloperLB
Copy link
Author

@joevo2 It works (by taking the zip file). But is it just a list of images and labels?
What does it demonstrate ?

@joevo2
Copy link

joevo2 commented Mar 27, 2015

It display recyler view and card view? Lol! This is the source code for a tutorial in the owners website. It shows as card view right?

@AndroidDeveloperLB
Copy link
Author

yes, but I expected something more . :)
I don't even remember how I got to this repository.
anyway thank you.

@joevo2
Copy link

joevo2 commented Apr 2, 2015

You are welcome 😛

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

3 participants