-
-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot open project UnhandledPromiseRejectionWarning #43
Comments
@duckness Can you check the content of folders inside "<DEXCALIBUR_WORKSPACE>/.dxc/api/sdk_androidapi_29_google" ? Since you run Dexcalibur on Windows, this error can have a different root cause. Is the stack trace is similar ? => Error in synchronizePlatform() |
.dxc/api/sdk_androidapi_29_google
❯ dir
Directory: C:\Users\duckness\dexcaliburWS\.dxc\api\sdk_androidapi_29_google
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 22/2/2021 10:35 pm android
d---- 22/2/2021 10:35 pm androidx
d---- 22/2/2021 10:35 pm dalvik
d---- 22/2/2021 10:35 pm java
d---- 22/2/2021 10:35 pm javax
d---- 22/2/2021 10:35 pm org after looking at the stacktrace a bit closer, I realised that the very first run (on TypeError: Cannot read property 'getUID' of undefined
at DexcaliburProject.fullscan (C:\Users\duckness\Downloads\dexcalibur-master\dexcalibur-master\src\DexcaliburProject.js:712:56)
at C:\Users\duckness\Downloads\dexcalibur-master\dexcalibur-master\src\WebServer.js:438:49
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:25988) UnhandledPromiseRejectionWarning: Error: [PROJECT] synchronizePlatform : unkow platform. Aborted
at DexcaliburProject.synchronizePlatform (C:\Users\duckness\Downloads\dexcalibur-master\dexcalibur-master\src\DexcaliburProject.js:429:19)
at C:\Users\duckness\Downloads\dexcalibur-master\dexcalibur-master\src\WebServer.js:434:43
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5) subsequent runs on TypeError: Cannot read property 'getUID' of null
at DexcaliburProject.fullscan (C:\Users\duckness\Downloads\dexcalibur-master\dexcalibur-master\src\DexcaliburProject.js:714:56)
at C:\Users\duckness\Downloads\dexcalibur-master\dexcalibur-master\src\WebServer.js:438:49
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:19708) UnhandledPromiseRejectionWarning: Error: [PROJECT] synchronizePlatform : unkow platform. Aborted
at DexcaliburProject.synchronizePlatform (C:\Users\duckness\Downloads\dexcalibur-master\dexcalibur-master\src\DexcaliburProject.js:431:19)
at C:\Users\duckness\Downloads\dexcalibur-master\dexcalibur-master\src\WebServer.js:434:43
at processTicksAndRejections (internal/process/task_queues.js:93:5) |
Very good information :) As i cannot reproduce the error, can you patch your code with the commit dbba59a ? Can you say me if an error occurs and if there are more error messages into terminal ? Thanks ! EDIT: Only |
I get this and nothing else |
@cryptax can you check if v0.7.8 solves your issue ? |
I close this issue. Feel free to update this issue, if problem persists. |
Just tried. The problem persists with 0.7.8.
Would you like me to join my Dockerfile to help you reproduce? |
By the way, I am getting the same error, even without using a Dockerfile, i.e straight on the host.
|
Did you select a device for the project ? |
With more tests, note this error only happens at the creation of the project. Actually, the project gets created, so, if after that you choose to open an existing project, it works, and you manage to open and analyze the APK. |
I am trying to open a project, it fails and shows errors in console.
This is running inside a Docker container which contains Android SDK + Android Emulators + NodeJS + Frida + Dexcalibur, (why? because I am trying to build such a container for people with Windows, for which Dexcalibur doesn't seem to install ok).
The text was updated successfully, but these errors were encountered: