• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps "Activity not found" when trying to run HelloAndroid

Hi, I am trying to run the HelloAndroid app on my Incredible. I have it installed through running it on Eclipse. This is the message I get on Eclipse

[2010-12-31 11:50:46 - HelloAndroid] Installing HelloAndroid.apk...
[2010-12-31 11:50:49 - HelloAndroid] Success!
[2010-12-31 11:50:49 - HelloAndroid] \HelloAndroid\bin\HelloAndroid.apk installed on device
[2010-12-31 11:50:49 - HelloAndroid] Done!

I have astro and found the file by searching for "com.example.helloandroid". For some reason, the file is saved in "mnt/asec/com.example.helloandroid-1". When I try running com.example.helloandroid, it gives me an error: "Activity Not Found - com.example.helloandroid"

How do I run my helloandroid app? Also, how can I control where Eclipse installs my apps?
 
make sure that you put the following code between your <application> </application> tags

Code:
<activity android:name=".main" >
    <intent-filter>
         <action android:name="android.intent.action.MAIN" /> 
         <category android:name="android.intent.category.DEFAULT" /> 
    </intent-filter>
</activity>

make sure the ".main" is the name of your activity
 
Back
Top Bottom