I started my android development with Android Studio so I do not know much about eclipse. A client has sent me his source code for an android app that needs editing and while trying to import it I am getting the following error.
Some one please guide me to a solution, I really need it right now.
Using android studio 2.1.2 with JDK 8 installed.
This is the project.properties file
Thanks!
Ok so turns out the app was using a "pullToRefresh" library that was missing as a deliverable to me. I did not have an experience of working with external libraries yet so took me some time to identify that.
I downloaded the library and gave it the correct path in "project.properties" file. Then simply imported the project to Android studio and it is working absolutely fine
Related
I am trying to create a LittleKT project in Visual Studio Code. I tried building a Gradle instance of the project but was told that I did not have an Android SDK. I installed the Android SDK Tools and got pretty far. I was unable to use a key emulator that I needed and was wondering if I could completely remove android support for my project.
Any advice pertaining to LittleKT or how to install the needed emulator I need would be greatly appreciated. I did not include many details as to doing that because that is not the point of this question. Plus, there are plenty of discussions pertaining to that issue.
Thanks
I try to share my LibGDX project between two OS Linux and Windows on my machine. The real problem is to import as gradle project (in Intellij Idea 15 and 2016 as well) from bitbucket shared code.
My problems starts when i try to mase some changes on Windows. Intellij idea just can't import project as gradle. I have still getting error message about not found BuildTools 23.0.2. Ok. I get it, but my Andoird SDK is up to date and I certainly downloaded this buildtools.
Ohh - on my unix system everything goes well, so I think I know what I'm doing. ;)
I'm stuck with it for a while now, so if You could give me any advice I will appriciate it.
Since you say you have downloaded the required version of build tools there could be only one possible reason.
You must be having two different folders containing the android sdk. Make sure your intellij and project is configured to use the right one (where you have the required version of build tools)
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 posted this question on the IntelliJ community forums but it seems as if they aren't very active so I'll just post it right here on S/O. I'm new to IntelliJ and I'm switching to use it from Eclipse which was really buggy and not useful to my needs. However, I'm attempting to build an Android project in IntelliJ Idea and it is only creating a .idea folder and the src directory without any inner files in them like it should. I've got the Android-SDK properly installed and I'm using JDK 1.7 and I'm even following the directions to properly start an Android project from the IntelliJ Wiki (found here) but it still leads me to no success. It seems as if I've got the Android Support plugin already installed with my program but then again I'm not really sure. Can I get some help please so I don't have to revert back to Eclipse again? Thanks.
Try to delete Android SDK and install it again, then download at least one Platform. IDEA runs SDK tools to create Android project template, for some reason it's failing on your system.
Check if it works better with JDK 1.6.
See the screencast that I've just recorded.