I’ve problem with exporting apk from eclipse: after I export project (even unsigned, not using keystore), if I rename .apk to .zip and open, it only contains “classes.dex”, not anything else. It also weighs only 26 kb, while debug apk weighs 2.6 mb.
Problem persists even on simpliest projects (like one activity with one button). On exporting process it shows no errors.
My system is Windows 7, tried using Indigo and Juno eclipse. Tried installing new android sdk and reinstalling eclipse, tried to “Clean” projects and to configure build. No changes.
Thanks in advance.
Update:
I’ve just created new “Hello World” project, with auto-generated Manifest:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.testproject"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="7"
android:targetSdkVersion="7" />
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".MainActivity"
android:label="@string/title_activity_main" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
which works perfectly when I click “Run” button, but when I export it and try to install with adb, I get “file ‘C:…\TestProject.apk’ does not contain AndroidManifest.xml”
Solved my problem by installing ubuntu, exporting worked perfectly there.