I'm an experienced programmer and android user. I'm following a guide for creating the android project in eclipse from the android developer site, and I've followed every step up to creating the project, and the ADT plugin has been correctly installed and configured. The problem: Under the android tab in the new project wizard there is no option for android project. There are various other android options like Android Activity, Android Application Project, Android Icon Set, etc. Does anybody know how I can enable the option for Android Project? I have searched this site, along with various others, and nobody seems to have the same problem. Here is a link to an XDA post I made about this problem: http://forum.xda-developers.com/showthread.php?t=1747568. I attached a picture of the problem. Thank you! Here is a picture of the problem: http://i.stack.imgur.com/8mRFi.png
With the latest ADT (20) a few changes were made to the UI and the tutorials in the Android Training section are a bit out of date. You are probably looking for 'Android Application Project'.
An Android Application Project is an Android Project.
Related
Can anyone tell me how to build my app in release mode? I'm having issues getting to the permissions screen on my android (java) application, I keep getting GoogleFit: RESULT_CANCELED error and then activity closes.
Another user suggested building in release mode, my SDK is generated for release and I have updated my gradle files but nothing is working.
I have asked for help a few times since yesterday with no luck so if anyone can help that would be appreciated!
Link to my other question with problem in detail
I'm assuming you are using Android studio. To build the app in release mode. You will need to find a window called Build Variants which should be at the lower left screen of you workspace. And you will see the modules you created for your APP. And just change Build Variants from debug to release.
Here is the official document link for your reference Build and Run your App.
If you sre using Android Studio then you can go to build > Build Signed Bundle/APK....proceed and at the end Mark "release".
For more details you can search "android studio Generation Signet APK".
But I believe your problems lie deeper than that, I dont think it has anything to do with how you build your APK.
I have made a simple app. It was running fine. I had never used git. So, I watched a simple tutorial on youtube and installed the git and have made an account on Github. And also have added the account on the android studio and made the initial commit. Just after that, an error is showing in (ExampleInstrumentedTest.java)... and when I try to run the app. it builds without error but fails to install in my android device.
I searched for the solution on google. And find that disabling the instant run can solve this. but in the latest version of the android studio. instant run feature is not used.here is the screenshot and here is the screenshot for dependencies
Edit: now I have found out that it is running on other android devices but not on my android device. I think this problem arose after I unrooted my android device.
Just close the project and import it same.Its work for me.
File > New > Import Project > your project
Go to Build >Clean Project followed by Rebuild Project.
If it works then ok, otherwise uncommit git changes and then rebuild Project. It will work.
It was not installing the app on my device since I had unrooted my phone. So, I rooted the phone again and now the problem is solved.
I'm totally new to Android development, but I've made apps with Java and Eclipse before. Today I was trying to follow a neat tutorial # KiloBolt (http://www.kilobolt.com/day-1-foundations) formaking and Android game. However, I have this issue that I don't understand preventing me from following along.
Every time I try and create a new Android project in Eclipse, I get to the following screen and cannot press FINISH or NEXT. I have the ADT plugin installed and the Android SDK installed, along with a Java 7 JDK. Eclipse doesn't show any other errors that I know of.
Does anyone know what I might be missing or why Eclipse won't let me create a new Android project?
EDIT: Following Daniel's comment about themes and Android versions, I retried creating a project with the theme set to 'None', but I was still blocked from continuing.
As the comment says, you can't use the Holo Theme with Minimum Required SDK 9. You need at least Minimum Required SDK 14 to use the Holo Theme.
Anyway, you're following a very old tutorial. I strongly recommend you to create a new project with Android Studio instead of Eclipse. It will just work and it will use a more modern structure with gradle (although you will need some time to learn how to use Android Studio)
This is a good place to start: https://medium.com/google-developers/getting-started-with-android-using-android-studio-in-preparation-for-a-zombie-apocalypse-8f42cae10644
Goodafternoon community! total beginner here. I am developing my first android app and have downloaded all what is required in running Eclipse Juno as well as files from SDK manager. But when I'm creating a new Android Application Project I encounter a couple of errors already.
It says,
Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
(^in red)
AND...
WARNING: unable to write jarlist cache file C:\Users\Nokia\thesis2\appcompat_v7\bin\jarlist.cache
(^ in black)
Can anyone help me. Thank you very much everyone! :-D more power to you guys!
You should add support v7 library in your project. If you are not installed it using SDK manager,
Android developer site will help you.
After that the AppCompat Can be found at
android-sdk/extras/android/support/v7/appcompat
You need to reference this AppCompat in your android project.
Import the library to eclipse.
Right click on your android project.
Goto Properties.
Select Android.
Click Add Library and reference the same.
Clean and Rebuild your project
I am really very new on android development.
I have made 2-3 apps , those running on my android device already.
Last few days I am facing a stupid problem.
The problem is , creating the app fullscreen for every device. I have read phone gaps wiki
and tried with specific way. But I failed everytime.
When I'm trying to open the DroidGap.class from my Android eclipse project explorer , I got a error. that, "DroidGap.class has no source attached". (after build the phonegap.jar)
Please help me....
first you need to add phonegap.jar to your project
you need to add phone gap plugin to your eclipse
Use the AppLaud Eclipse Plugin for PhoneGap Android
Download and unzip the PhoneGap sources from GitHub
In the AppLaud wizard, select "Enter path to installed PhoneGap"
Enter the directory path to the unzipped sources from GitHub
Now you will be able to modify and debug the sources that comprise phonegap.jar
Caveat: I'm the creator of the AppLaud Plugin
fullscreen?
If you want modify DroidGap.class dowload source code from github and rebuild phonegap.
Rebulid instruction here: https://github.com/callback/callback-android/blob/master/README.md