androidsdk: fix activity launching

This commit is contained in:
Sander van der Burg 2014-02-27 23:08:13 +01:00
parent ebe57b1ac8
commit 70449b220d
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ stdenv.mkDerivation {
${stdenv.lib.optionalString (app != null) '' ${stdenv.lib.optionalString (app != null) ''
# Install the App through the debugger, if it has not been installed yet # Install the App through the debugger, if it has not been installed yet
if [ -z "${package}" ] || [ "$(adb -s emulator-$port shell 'pm list packages | grep -x package:${package}')" = "" ] if [ -z "${package}" ] || [ "$(adb -s emulator-$port shell pm list packages | grep package:${package})" = "" ]
then then
if [ -d "${app}" ] if [ -d "${app}" ]
then then

View File

@ -6,5 +6,5 @@ androidenv.emulateApp {
platformVersion = "16"; platformVersion = "16";
useGoogleAPIs = true; useGoogleAPIs = true;
package = "com.appcelerator.kitchensink"; package = "com.appcelerator.kitchensink";
activity = "KitchensinkActivity"; activity = ".KitchensinkActivity";
} }