fix android logging task

ios
Norwin 6 years ago
parent db7f83f681
commit 33aed9145d

@ -1,6 +1,6 @@
<?xml version='1.0' encoding='utf-8'?>
<widget id="de.sensebox.blockly" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>openSenseApp Blockly</name>
<name>senseBox Blockly</name>
<description>graphical programming &amp; OTA upload for senseBox MCU</description>
<author email="kontakt@reedu.de" href="https://reedu.de/">re:edu</author>
<content src="index.html" />

@ -10,7 +10,7 @@
"build": "ionic-app-scripts build",
"android:build": "ionic cordova build android",
"android:deploy": "adb install -r platforms/android/app/build/outputs/apk/debug/app-debug.apk",
"android:start": "adb shell am force-stop de.sensebox.blockly; adb shell am start -n de.sensebox.blockly/de.sensebox.blockly.MainActivity; sleep 1; adb logcat | grep -F \"`adb shell ps | grep de.sensebox.blockly | cut -c15-18`\"",
"android:start": "adb shell am force-stop de.sensebox.blockly; adb shell am start -n de.sensebox.blockly/de.sensebox.blockly.MainActivity; sleep 5; adb logcat | grep -F \"`adb shell ps | grep de.sensebox.blockly | awk -F' ' '{print $2}'`\"",
"lint": "ionic-app-scripts lint"
},
"dependencies": {

Loading…
Cancel
Save