Code: Select all
System.Exception: Failed to recompile the instrumented code. See details for more information: I: Smaling...
I: Building resources...
C:\Users\Miguel\AppData\Local\RanorexStudio4\RxEnv\Android\temp\decomp\res\values\styles.xml:59: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base'.
C:\Users\Miguel\AppData\Local\RanorexStudio4\RxEnv\Android\temp\decomp\res\values\styles.xml:99: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base'.
C:\Users\Miguel\AppData\Local\RanorexStudio4\RxEnv\Android\temp\decomp\res\values\styles.xml:146: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base'.
C:\Users\Miguel\AppData\Local\RanorexStudio4\RxEnv\Android\temp\decomp\res\values\styles.xml:176: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base'.
C:\Users\Miguel\AppData\Local\RanorexStudio4\RxEnv\Android\temp\decomp\res\values\styles.xml:192: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base.DropDownItem'.
C:\Users\Miguel\AppData\Local\RanorexStudio4\RxEnv\Android\temp\decomp\res\values\styles.xml:218: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base'.
C:\Users\Miguel\AppData\Local\RanorexStudio4\RxEnv\Android\temp\decomp\res\values\styles.xml:225: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Light.Base'.
C:\Users\Miguel\AppData\Local\RanorexStudio4\RxEnv\Android\temp\decomp\res\values\styles.xml:242: error: Error retrieving parent for item: No resource found that matches the given name 'TextAppearance.AppCompat.Base'.
C:\Users\Miguel\AppData\Local\RanorexStudio4\RxEnv\Android\temp\decomp\res\values\styles.xml:275: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base'.
C:\Users\Miguel\AppData\Local\RanorexStudio4\RxEnv\Android\temp\decomp\res\values-v14\styles.xml:50: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base'.
C:\Users\Miguel\AppData\Local\RanorexStudio4\RxEnv\Android\temp\decomp\res\values\styles.xml:467: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Base'.
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, C:\Users\Miguel\AppData\Local\Temp\APKTOOL7441055142628040052.tmp, -0, arsc, -I, C:\Users\Miguel\apktool\framework\1.apk, -S, C:\Users\Miguel\AppData\Local\RanorexStudio4\RxEnv\Android\temp\decomp\res, -M, C:\Users\Miguel\AppData\Local\RanorexStudio4\RxEnv\Android\temp\decomp\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, C:\Users\Miguel\AppData\Local\Temp\APKTOOL7441055142628040052.tmp, -0, arsc, -I, C:\Users\Miguel\apktool\framework\1.apk, -S, C:\Users\Miguel\AppData\Local\RanorexStudio4\RxEnv\Android\temp\decomp\res, -M, C:\Users\Miguel\AppData\Local\RanorexStudio4\RxEnv\Android\temp\decomp\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, C:\Users\Miguel\AppData\Local\Temp\APKTOOL7441055142628040052.tmp, -0, arsc, -I, C:\Users\Miguel\apktool\framework\1.apk, -S, C:\Users\Miguel\AppData\Local\RanorexStudio4\RxEnv\Android\temp\decomp\res, -M, C:\Users\Miguel\AppData\Local\RanorexStudio4\RxEnv\Android\temp\decomp\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
at Ranorex.Plugin.Mobile.PlatformComponents.DeviceBridges.ApkFileInstrumenter.CompileApkFile(String sourceApkFilePath, IPathService pathService)
at Ranorex.Plugin.Mobile.PlatformComponents.DeviceBridges.BackgroundWorkerSupported.ExecuteBgwCode[TArg0,TArg1](BgwDelegate`2 methodDelegate, Int32 doneProgress, String progressText, TArg0 arg0, TArg1 arg1, BackgroundWorker bgw)
at Ranorex.Plugin.Mobile.PlatformComponents.DeviceBridges.ApkFileInstrumenter.Instrument(String apkFilePath, Int32 port, BackgroundWorker bgw)
at Ranorex.Controls.Instrumentation.Workers.AndroidWorker.Run()
at Ranorex.Controls.AndroidInstrumentProgressPage.bgw_DoWork(Object sender, DoWorkEventArgs e)
Also, I want to find out if there is way for ranorex to play actions that swipe down the notification drawer and press the wifi/gps/bluetooth buttons.
Thanks.