I'm using Android Studio and I'm close to just canceling the Android version of my app and just sticking with the released iOS version. I need to use an expansion APK and I cannot for the life of me get the downloader_library to import into Android Studio.
I try and run the project and it says it can't find anything from the expansion downloader. I've tried everything I can find on the forums. I've tried bringing into Eclipse and exporting out. I just can't get this to work.
I don't know if I have some kind of fundamental misunderstanding about Android and libraries and modules and things but I'm about ready to give up on this unless someone has an easy way to help me through. This is the very last step. I have the IAB working, the app works on multiple devices, the performance is good, I just can't figure out this splitting of the APK.
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
Like many a newbie I've been blindly clicking away in Android Studio 2 stumbling my way through building an app. Most of it just works so I've not really got my head into gradle.
Any road up, I've wanted to link into Strava and discovered that there were a couple of guys who had done the heavy lifting but on using a specific project, at the vital point of getting the data there is a coding problem. I thought the best approach would be to solve the problem and feedback.
So I downloaded the GitHub project in a zip and tried to do a standalone build and then things just didn't work. I think the basic problem is a) I don't know what I'm doing, and b) presumably the build on GitHub was done using different tools that are not set up for Android Studio.
So given that there is a working project on GitHub (specifically https://github.com/SweetzpotAS/StravaZpot-Android ) what are the dummy steps for getting that project to build locally in AS 2?
The problems I had are that on trying to open the project picking up the gradle file (couldn't find anything else to open in the root directory, the build didn't want to work - complaints about mixed projects. I stripped out the testing app and just tried to build the lib, but I didn't get a working lib in the output directory, just 2 25k stub aar files. Ideally I want to have that as a standalone project to build a local lib and then use that lib in my project (which I reckon is within my abilities!). Run out of Google search ideas!
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.
So I've been trying to install libgdx for a few days with Eclipse and it kept telling me various things (Android ADT, Java JDK, etc.) needed to be updated, so I did that, but I kept getting the same error.
Then I decided to download an older version (0.9.8) and I used the gdx-setup-ui.jar to set up my projects. But upon opening them in the Eclipse/ADT bundle, the Android and HTML projects had errors in them involving the import statements, which I tried to solve to no avail.
This is the tutorial I've mainly tried to follow.
Does anybody have a solution for me to get it to work? I'm most familiar with Eclipse, having worked with it for Android for a while now, so I'd prefer not to switch IDEs.
Thanks in Advance
Use ADT (Android Developer Tools) instead of Eclipse. (Is the same thing anyways)
http://developer.android.com/tools/index.html
If you got errors after importing your projects on android, right click on the android project, and at android, check the version that is there.
For HTML you need to install the GWT plugin.
Recently libGDX has moved to Gradle, so you might want to look over that
https://github.com/libgdx/libgdx/wiki/Project-Setup-Gradle
I have ros, rosjava, and android_core on my Ubuntu machine, as well as Eclipse and the Android SDK and ADT. Now, I'm trying to create an android application using the following instructions but I'm having trouble:
http://docs.rosjava.googlecode.com/hg/android_core/html/getting_started.html#getting-started
After copying the android_tutorial_pubsub into another folder and trying to open it with Eclipse I get a bunch of unrecognized packages. Eclipse doesn't know where to find ros classes (such as RosActivity) and I'm not sure how to import them. I tried importing the android_core as per: http://ros.org/wiki/android_core#Eclipse_configuration and that creates another project called MasterChooser that I can then link to the pubsub tutorial to fix some of the referencing errors, but the projects (pubsub and MasterChooser) still don't recognize certain files that are in rosjava. For this I tried File->Import->General->File System and then manually select the rosjava packages but that still leaves some issues.
Overall I feel there must be a simpler way to make the android app (pubsub) reference both android_core and rosjava, but my lack of experience in ros and in eclipse are making this hard. In short, I really just want to be able to run the tutorial apps (like pubsub) from Eclipse into my android device.