The phonegap create still makes a phonegap project but the eclipse no cannot see projects when you select import and browse to the folder. It says "No projects are found to import".
It worked fine before though because made projects before.
Why does this happen?
UPDATE:
Seems the problem is with my eclipse since tried to give the created phonegap project to a colleague and it is recognized in his eclipse. For some reason my eclipse stopped recognizing phonegap projects.
#jhdj Delete all the existing projects in the eclipse ide and import the project which you want i hope you will get it,
file->import->android->existing android code into workspace
hope this works,b/c it worked for me.
You can try.
Check are you trying to import from the right directory. You are looking in some wrong
directory.
There are so many posts available in So only for this kind of problem refer them.
No projects found to import
No projects are found to import - Helios eclipse
Why "no projects found to import"?
You also have an alternative which I was using when I was working on linux fedora.
Otherwise look into this tutorial to build phonegap application in eclipse itself
http://www.adobe.com/devnet/html5/articles/getting-started-with-phonegap-in-eclipse-for-android.html
See this section -- Creating the project in Eclipse
The tutorial is for the cordova-1.5.0.js version.
You can use the latest version or may the versuion you wan to use there is no problem in doing that at all.
Related
I'm new to programming and computer science in general. I've looked around and Atomic Kotlin seems to be the most organized and comprehensive course for new learners. I'm using Android Studio to learn how to program.
When I get to Introduction to Objects > Testing the package atomictest doesn't import for any of the following exercises.
I have created a sample program to check if the package and import tools worked in general and the tools worked fine. Then, I tried to see if IntelliJ IDEA had the same issue with the course and importing atomictest worked just fine. So it seems that there is a compatibility issue or a referencing issue with Android Studio and Atomic Kotlin.
I went into the Packages portion of the project tree and went to the actual *.kt file containing the package and it checks out.
Here's what the error looks like within the Android Studio IDE
I could continue with IntelliJ but I want to learn using Android Studio. Why is this issue happening and how do I fix it? Thank you in advance.
I've downloaded the Android SDK. I am trying to build the appcompat project. I've read that project is located here:
C:\Android\sdk\extras\android\support\v7\appcompat
I have imported the project into my workspace. It doesn't build.
I could go into great detail about which SDKs I have installed on my machine, etc. I could say that the values-v11, values-v14, and values-v21 folders all have errors, even though I have downloaded all three of these SDKs. But I am pretty sure if I import a project from the Android SDK website from the Android developer website, and I try to build that project, it should just work. I've followed the instructions here:
https://developer.android.com/tools/support-library/setup.html#libs-with-res
...and still not working.
So, why does this not work? I don't even care how to get it to work, I want to know why this does not work and why would I have to do any extra work or research to get it to build? Is this a problem with Eclipse? Should I be giving up on Eclipse and moving to Android Studio? This appears to be an incredibly simple thing to do and yet it does not work anymore.
I have some apps in eclipse and I exported my apps, but when I import all apps again, and when I import it, I have 1 error in Androidmanifest.xml (for the package name) and the code has not appeared. I have not updated my SDK manager. Could that be the problem?
I tried to put the project name in the manifest, and I don't get more errors in it, but when I export, it doesn't save all my information/configuration.
I was having a similar problem. I am a novice to android studio and to creating android apps. I downloaded sample apps from the android site but could not get it to run inside of android studio. What I was doing was allowing the android studio ADT to convert the project. This was a mistake. I ended up importing the project but not allowing the ADT to migrate any part of the unzipped project file. Once I did this the ability to run the apps was there and I just had to link the dependencies via the project structure option under File in the top toolbar and then worked out minor issues that were mentioned in the console of the log. This is probably a different issue than what is discussed here but it does relate to the importing and running of android apps.
I was only able to find guides on how to import an Eclipse project into Android Studio. But I am not using Eclipse, I am using IntelliJ IDEA.
How do I generate the new Gradle build files for my project?
EDIT:
To clarify. I know how to setup Gradle manually. But that's not what I am asking for. The question is: Am I able to let the Android SDK generate the Gradle files for me? Like the ADT does... But since I'm not using Eclipse, I don't have access to the export feature of ADT!
Have you started Android Studio yet? Because importing IDEA Projects is one of the possible selections you can choose in the beginning.
If you passed that initial state already, just go to File -> Import Project and select the folder of your project that you want to import. The rest is straight forward and pretty bullet proof as both are basically IDEA :D
Okay for everyone who needs to do this:
It's not possible.
But if you want to create the neccessary Gradle build file manually. Here it is: https://gist.github.com/Goddchen/5600345
You need to "Import Project (Maven, Gradle, ...)" and then select not the folder, but 'settings.gradle' instead. Then Android Studio will do everything by itself.
I'm having a hell of a time importing OpenCV into my Android project. I've already tried this tutorial:
http://opencv.itseez.com/doc/tutorials/introduction/android_binary_package/android_binary_package.html
and it did not work because Eclipse would not recognize the existing projects in the directory. So after much searching I came across this trunk:
https://code.ros.org/svn/opencv/trunk/opencv/
and was able to import it into my workspace in Eclipse. Eclipse now recognizes the sample projects, but now the problem is that there are no OpenCV library files. So all the calls to import different classes result in errors. Shouldn't there be a opencv.jar somewhere? I've seen various posts that mention having to build the library but unfortunately I don't have the slightest clue how to do that. I need something with step by step instructions. I'm running Windows 7 64-bit.
Thanks!
You should download the latest OpenCV 4 Android here:
http://opencv.org/downloads.html
And read these tutorials to get you started (in this order roughly):
Introduction into Android Development
OpenCV4Android SDK
Android Development with OpenCV
OpenCV4Android Reference
If you want to use OPEN CV in your android apps, for example if you need to read some strings from an image in your android and you are new in using OPEN CV. Then download the pre-built OpenCV library for Android from here:
http://sourceforge.net/projects/opencvlibrary/files/opencv-android/2.3/
After downloading, import OpenCV-2.3.1 into Eclipse using File-->Import...-->General-->Existing Project Into Workspace.
In your project's properties, Under Android, add the OpenCV2.3.1 library (press Add.. on the right and select OpenCV2.3.1).
Good luck!
You might want to take a look at this project: https://github.com/billmccord/OpenCV-Android
I was able to run opencv applications on my android phone with the help of this port.
installed the Win-superpack?
I recommend getting the latest .tar, extract and use it. Worked for me.
I posted about this on a duplicate question. Make sure you have the android NDK installed! Or, consider using JavaCV instead. It is much easier to install.