runs perfectly, but when I tried to install it on my G1 then it gives
me following error.
D:\Pramod Backup\android\android-sdk-windows\tools>adb install
464 KB/s (14833 bytes in 0.031s)
Then how should I can install this application on my mobile?
Thanks in advance
INSTALL_FAILED_OLDER_SDK is an Installation return code passed by PackageManager to the PackageInstallObserver, if the installation of new package failed because the current SDK version is older than that required by the package.
Min SDK Version: This is an integer that indicates the minimum API Level required to properly run your application. The minSdkVersion attribute is found in the <uses-sdk> of your Android Manifest file.
What is the minSdkversion specified in the manifest of your application? What is the device API version?
how to see device API version?
Depends on which flavor of Android device is running(you can verify that from Settings -> About Phone -> Firmware version).
... application is successfully get installed on mobile but now it gives me another error as,...
Does your application use external JARs? Chances are that could be causing problems.