statops / mcrawlert Goto Github PK
View Code? Open in Web Editor NEWFormal Models generation (guided by exploration strategies) and automatic testing Tool for Mobile application .
Formal Models generation (guided by exploration strategies) and automatic testing Tool for Mobile application .
Hello, I have been trying to use MCrawlerT, but I am unable to do so. I followed the documentation but when I am trying to run it over the included examples, I get the following:
BUILD SUCCESSFUL
Total time: 18 seconds
+ resign_apk
+ echo 'resign ProjectApk '
resign ProjectApk
+ cd /Projects/AndroidProjects/MCrawlerT/TOOLS/exemples/ASK/project/ask
++ ls /Projects/AndroidProjects/MCrawlerT/TOOLS/exemples/ASK/project/ask/app.apk
+ local apk=/Projects/AndroidProjects/MCrawlerT/TOOLS/exemples/ASK/project/ask/app.apk
+ PROJECTAPK=/Projects/AndroidProjects/MCrawlerT/TOOLS/exemples/ASK/project/ask/app.apk
+ fileExist /Projects/AndroidProjects/MCrawlerT/TOOLS/exemples/ASK/project/ask/app.apk true
+ local file=/Projects/AndroidProjects/MCrawlerT/TOOLS/exemples/ASK/project/ask/app.apk
+ '[' -e /Projects/AndroidProjects/MCrawlerT/TOOLS/exemples/ASK/project/ask/app.apk ']'
+ echo 'file exist'
file exist
+ cp -R /Projects/AndroidProjects/MCrawlerT/TOOLS/source/MCrawlerTDesktop/McrawlerT/KEYSTORE ../
+ PROJECTAPK=appsigned.apk
+ deleteIfExist appsigned.apk
+ '[' -e appsigned.apk ']'
+ echo no appsigned.apk
no appsigned.apk
+ /Projects/AndroidProjects/MCrawlerT/TOOLS/source/MCrawlerTDesktop/McrawlerT/scripts/resign.sh app
+ resignAPK
+ getmanifestandstrin app
+ apktool d -f app.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /apktool/framework/1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
+ updateManifest app
+ local manifest=app/AndroidManifest.xml
+ local manifestTemp=app/AndroidmanifestTemp.xml
+ awk /android.permission.WRITE_EXTERNAL_STORAGE/{print NR;exit} app/AndroidManifest.xml
+ cat temp
+ local line=8
+ [ -z 8 ]
+ rm temp
+ awk /android.permission.GET_TASKS/{print NR;exit} app/AndroidManifest.xml
+ cat temp
+ local line=
+ [ -z ]
+ echo No permission android.permission.WRITE_EXTERNAL_STORAGE
No permission android.permission.WRITE_EXTERNAL_STORAGE
+ awk /<application/{print NR;exit} app/AndroidManifest.xml
+ cat temp
+ local line=17
+ echo line 17
line 17
+ rm temp
+ awk NR==17{print "<uses-permission android:name=\"android.permission.GET_TASKS\" />"}1 app/AndroidManifest.xml
+ forcemv app/AndroidmanifestTemp.xml app/AndroidManifest.xml
+ chmod 777 app/AndroidmanifestTemp.xml
+ chmod 777 app/AndroidManifest.xml
+ mv app/AndroidmanifestTemp.xml app/AndroidManifest.xml
+ encode app appunsigned.apk
+ echo re build
re build
+ apktool b app
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
/Projects/AndroidProjects/MCrawlerT/TOOLS/source/MCrawlerTDesktop/McrawlerT/apktool/newer/aapt: 1: /Projects/AndroidProjects/MCrawlerT/TOOLS/source/MCrawlerTDesktop/McrawlerT/apktool/newer/aapt: �������8__PAGEZERO__TEXT0
0
__text__TEXT�0�f: not found
/Projects/AndroidProjects/MCrawlerT/TOOLS/source/MCrawlerTDesktop/McrawlerT/apktool/newer/aapt: 2: /Projects/AndroidProjects/MCrawlerT/TOOLS/source/MCrawlerTDesktop/McrawlerT/apktool/newer/aapt: �: not found
/Projects/AndroidProjects/MCrawlerT/TOOLS/source/MCrawlerTDesktop/McrawlerT/apktool/newer/aapt: 3: /Projects/AndroidProjects/MCrawlerT/TOOLS/source/MCrawlerTDesktop/McrawlerT/apktool/newer/aapt: ��ȇ: not found
/Projects/AndroidProjects/MCrawlerT/TOOLS/source/MCrawlerTDesktop/McrawlerT/apktool/newer/aapt: 2: /Projects/AndroidProjects/MCrawlerT/TOOLS/source/MCrawlerTDesktop/McrawlerT/apktool/newer/aapt: Syntax error: word unexpected (expecting ")")
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 8, --target-sdk-version, 18, -F, /tmp/APKTOOL8796903836649610706.tmp, -0, arsc, -I, /apktool/framework/1.apk, -S, /Projects/AndroidProjects/MCrawlerT/TOOLS/exemples/ASK/project/ask/app/res, -M, /Projects/AndroidProjects/MCrawlerT/TOOLS/exemples/ASK/project/ask/app/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 8, --target-sdk-version, 18, -F, /tmp/APKTOOL8796903836649610706.tmp, -0, arsc, -I, /apktool/framework/1.apk, -S, /Projects/AndroidProjects/MCrawlerT/TOOLS/exemples/ASK/project/ask/app/res, -M, /Projects/AndroidProjects/MCrawlerT/TOOLS/exemples/ASK/project/ask/app/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 8, --target-sdk-version, 18, -F, /tmp/APKTOOL8796903836649610706.tmp, -0, arsc, -I, /apktool/framework/1.apk, -S, /Projects/AndroidProjects/MCrawlerT/TOOLS/exemples/ASK/project/ask/app/res, -M, /Projects/AndroidProjects/MCrawlerT/TOOLS/exemples/ASK/project/ask/app/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.