Open AOSP Application in Android Studio? - Android Q&A, Help & Troubleshooting

Is there a way that I can open an AOSP application in Android Studio?
I have tried just opening the directory but that does not seem to work, Then I tried importing the project it seems to work but then throws tons of errors. When I used Android Studio to clone the repo then import it it did not seem to work either. Took like an hour to index but then nothing seems to be showing up quite right.

Related

[Q] basics of application developement

Hello, I am just a new kid. I want to develop some android apps. I have Basic knowledge of Java. I own a laptop and LG P500 handet.
I have downloaded Eclipse, Android sdk, sdk tools and ADT plugin and API 2.3.3. I have some sample codes which I have studied. but when I try to compile them, it gives error R.java can not be resolved to a variable. I tried building my own codes, but whenever "R.layout .main" is used, it encounters error. I tried many times, googled a lot, but didn't work. need assistance.
Try to clean your project doing
Project>Clean

[Q] Fails in an imported project

I just reinstalarme java sdk and eclipse and I've updated everything to solve problems that had versions had. Now, trying to create a project before importing interests me, not allowing me to use the light holo theme with dark action bar (The project I have to import the user and also gave me error related to it). I get a red x next. We also explain the mistake that gave me and before reinstalling everything and that gives me now, because I think it has something to do. It turns out that when you import a project gives me many errors: Errors in the files within src and errors especially in res / values ​​/ styles. the latter makes no father is and values-v21 speak. Many would say that the problem is the appcompat but I've tried a lot of solutions out there on the internet and nothing, I can not solve. Does not work with android studio me and if I have tried the techniques of builth path and etc. i need help please. The solution to start the application again is not an option, Thanks for everything
I add: when I go to project properties in android in paragraph libraries appear both me I have a red X (the appcompat and of google). They are in the project and if that I have downloaded everything you need with sdk (extras and others)

[APP][MOD] Remove device/OS check

Hi i've been browsing the forum trying to find a solution but however i'm limited by my knowledge.
Basicly there is an Game/app made built by GameMaker but the target system was not meant to support AndroidTV. I'm trying to run this game on my nvidia shield.
I sideloaded the app and whenever i launch it i see the background of the game as if it was going to work and then the app crash and i get the following error message :
Incorrect android target. This executable targets android TV devices. This build is for android".
I've download Apk Studio / Apk tool and i tried to find out in the code where would that check happen and how i can allow AndroidTv devices to run this app. However i don't see much in the manifest file that would stop the app from running in AndroidTv.
Anyone out there with more knowledge can chime in and give some ideas ?
Here is a link to the app i'm trying to modify.
https://drive.google.com/open?id=1LrddBPcAK9Ufs9Eo8Jl5Z_zTTDvKzzHO
Thank you

Android studio and dependency downloadsiI

I have a limited access to the internet so the following question is important to what i can do with android studio.
I had android studio setup and it downloaded a mass of files but it worked and i could build and even deploy a release version. A week later i now get and error saying that it could not download aap2-windows.jar. i then created a blank project and it now says it cannot find transform-api.jar. if this worked before i would assume it should work again. Am i missing a setting or a directory specification where these files are downloaded to or are you destined to keep downloading files every time you create a new project?

How Google identifies an Android project/developer

I would like to know how Google identifies a project (other than package name, or code) or a developer of an Android app. From what I think there is some data from your Android Studio that gets inserted in the apk. Do you know how to edit that data?
If you are building with an older api, I see that there is a file build-data.properties in the apk. In this file there is some data like build.time, build.build_id or build.timestamp. Do you know how to change this data from Android Studio?
Thanks

Categories

Resources