androidsdk: fix activity launching
This commit is contained in:
parent
ebe57b1ac8
commit
70449b220d
@ -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
|
||||||
|
@ -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";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user