mwaylabs / Espresso

The-M-Projects build tools using node.js.
www.the-m-project.org
Other
84 stars 28 forks source link

Twitter Sample .apk with espresso package #105

Closed ManuelWeberMway closed 11 years ago

ManuelWeberMway commented 11 years ago

Hey ,

after updating the espresso to the latest version ( detox branch! ) , I had the possibility to build an .apk file of the Twitter Sample App:

I used this in the config.json :

"package": { "default": { "method": "Cordova", "os": "Android", "sdk": "android-15", "package": "com.test.twitter", "activity": "Twitter", "mode": "release", "keystore": "/path/to/key/mykey.keystore", "keyalias": "keyname", "storepass": "xxx", "manifest": { "-android:versionCode": "1", "-android:versionName": "0.0.1",

            "uses-sdk": {
                "-android:minSdkVersion": "8"
            }
        },
        "autoScaleIcon": true
    }

and I received this error:

/Users/myName/Documents/Espresso/package/Cordova/Android/bin/setup-icons: line 36: convert: command not found

But if I delete the "autoScaleIcon" line , everything works right!

4z3 commented 11 years ago

For autoScaleIcon you have to have ImageMagick (which provides the convert command) installed.

dominiklaubach commented 11 years ago

FYI, checking the docs would have helped with this, too: http://panacodalabs.github.com/The-M-Docs/#espresso/native_packaging