Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Hi, I'm beginner with Android.
The first simple code is a fault. I don't know how to fix it.
![]()
Have anybody help me please???
To resolve this problem,you should comment the import android.R;Hi, I'm beginner with Android.
The first simple code is a fault. I don't know how to fix it.
![]()
Have anybody help me please???
Even i got the same error.
R can not be resolved.
kindly post a reply for this
I got the same error. I added & removed theEven i got the same error.
R can not be resolved.
kindly post a reply for this
import android.R;
Then I compiled anyways ... and the error disappeared!
But the red ! doesn't go away. Here's the build output:[COLOR=DimGray]clean:[/COLOR]
Deleting directory /home/chris/Projects/Java/FirstAndroid/bin
Deleting directory /home/chris/Projects/Java/FirstAndroid/gen
[COLOR=DarkRed]Creating output directories if needed...[/COLOR]
Created dir: /home/chris/Projects/Java/FirstAndroid/bin
Created dir: /home/chris/Projects/Java/FirstAndroid/gen
Created dir: /home/chris/Projects/Java/FirstAndroid/bin/classes
[COLOR=DarkRed]Compiling aidl files into Java classes...
Compiling RenderScript files into Java classes and RenderScript bytecode...
Generating R.java / Manifest.java from the resources...[/COLOR]
[COLOR=DimGray]compile:[/COLOR]
[COLOR=Blue][U]/home/chris/Projects/android-sdk-linux_x86/tools/ant/main_rules.xml:384[/U][/COLOR]: [COLOR=DarkRed]warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds[/COLOR]
Compiling 2 source files to /home/chris/Projects/Java/FirstAndroid/bin/classes
[COLOR=DarkRed]Converting compiled files and external libraries into /home/chris/Projects/Java/FirstAndroid/bin/classes.dex...
Packaging resources[/COLOR]
Creating full resource package...
Creating FirstAndroid-debug-unaligned.apk and signing it with a debug key...
debug:
[COLOR=DarkRed]Running zip align on final apk...
Debug Package: /home/chris/Projects/Java/FirstAndroid/bin/FirstAndroid-debug.apk[/COLOR]
[COLOR=Green]BUILD SUCCESSFUL (total time: 3 seconds)[/COLOR]
rientation="vertical"
adding="10dip">
1. Your layout is incorrect. Check all your XML files AGAIN AND AGAIN. you might think they are fine but they might not be so keep checking.
I found solutionHi, I'm beginner with Android.
The first simple code is a fault. I don't know how to fix it.
![]()
Have anybody help me please???
))