I am using Android Studio 4.1.1 to complete a Beginner's Android course that was last updated in 2015/2016. I don't know how to use Gradle and GitHub as I am new to this.
This is the link to the GitHub repository of the project:
https://github.com/udacity/ud839_Miwok/tree/Starter-code
I downloaded and extracted the zip file and imported the project, and have even tried importing it directly from the Version Control option. However, whenever I try to sync the project, the following error appears and the Gradle sync fails.
Incremental Java compilation is an incubating feature.
It asked me to install hundreds of files and plugins which I did but nothing works. Please help.
I know this is badly written, but there are so many different errors everytime I try to run it, I am overwhelmed.
I tried all the examples provided but still the same problem. Can you please solve this issue?
Steps that I followed
imported the android studio project to my android studio.
while building the gradle it statrs to error. the i searched about the problem in google
Then i tried https://stackoverflow.com/questions/2341134/command-line-svn-for-windows and i installed the svn from then i started my android studio then it shows the same error.
This is what i getting while i starts ma android studio.
Instead of the correct path to svn.exe you've specified a path to your Gradle build file. That's why Android studio is unable to run SVN client.
Showing Failed to load the JNI shared library "c:\program Files(x86)\java\jdk1.6.0\bin..\jre\bin\client\jvm.dll".
Please let me know what the problem is thanks in advance.
It may be difficult to get some help with Eclipse IDE for android nowadays.
I suggest you migrate your project to Android Studio which is the official IDE for android development.
Android Studio has a nice migration tool for Eclipse projects.
I set up git in Android Studio
http://maxrohde.com/2014/08/18/import-github-project-to-android-studio/
Then imported this project
https://github.com/GautamGupta/Simple-Android-OCR
The following error was displayed:
Migrate Project to Gradle?
This project does not use the Gradle build system. We recommend that you migrate to using the Gradle build system.
What can I do to fix this?
That project hasn't been modified in two years, really four for most of the project, so it uses the older project layout and was very likely developed using Eclipse rather than Android Studio.
Here is the Google reference for migrating a project from Eclipse to Android Studio:
https://developer.android.com/sdk/installing/migrate.html
An option if simply importing doesn't work is to install Eclipse and do an export from there to Android Studio. While you could just work in Eclipse it is deprecated for Android development and you'll find many more up-to-date resources for Android Studio.
How do you import an Eclipse project into Android Studio now?
Android Studio's default build system is Gradle. That GiftHub project is not using Gradle build system. Probably created from Eclipse (Ant build system)
So when you open a project that does not use Gradle build in Android Studio, it will ask to convert the Project to Gradle based build. You just give yes on the popup, it will take care of everything.
http://gaut.am/making-an-ocr-android-app-using-tesseract/#comment-184181
here it explains solutions for gradle errors
That's not an error!
The recommended build system for android projects is gradle.
But the author of this project in github did it using only eclipse without any special build system.
You just need to answer "yes" to that popup message and Android studio will convert the project to use gradle
I'm attempting to create an Android module. I've read and followed the steps in the guide of creating an android module provided by the appcelerator wiki.
However I encountered a few problems along the way. I created the module using Titanium Studio, imported into eclipse and I was shown with a errors in the java file. http://min.us/mbj8ktGHgh#1o
I proceeded on ignoring the errors and attempt to build the module as instructed by the guide. Right click on ant.xml and run the first option. The build failed because it failed to find the Android NDK. I solved that by downloading the Android NDK and adding "android.ndk=path" to the build.properties. Ran it again and encountered another problem. This time it failed to find the libs folder. http://min.us/mbj8ktGHgh#2o
What went wrong?