Comments (2)
You cannot ignore this error. "ella.runtime.dex" is the dex version of the runtime classes that gets injected into the instrumented APK.
Do you have "dx" in your "PATH"? If not, you have to set the "ella.buildtools.dir" variable in ella.settings as follows.
android.buildtools.dir=/Users/saswat/software/android-sdk-macosx/build-tools/20.0.0/
from ella.
Hello,
if have the same problem.
I tried various versions of build tools and the error is still there.
My settings file is:
ella.use.emulator.host.loopback=true
#ella.server.ip=1.2.3.4
ella.server.port=23745
ella.outdir=ella-out
ella.instrumentor=com.apposcopy.ella.MethodCoverageInstrumentor
#ella.instrumentor=com.apposcopy.ella.CallArgInstrumentor,com.apposcopy.ella.MethodParamInstrumentor
ella.android.debug=false
ella.exclude=ella-exclude.txt
ella.instrumentor.max.heapsize=2g
ella.server.max.heapsize=2g
ella.android.buildtools.dir=/Users/nicoostendorf1/Library/Android/sdk/build-tools/25.0.0
ella.android.jar=/Users/nicoostendorf1/Library/Android/sdk/platforms/android-25/android.jar
ella.jarsigner.keystore=.android/debug.keystore
ella.jarsigner.storepass=android
ella.jarsigner.keypass=android
ella.jarsigner.alias=androiddebugkey
The log file gives the output:
Exception in thread "main" java.lang.Error: java.lang.reflect.InvocationTargetException
at com.apposcopy.ella.Instrument.mergeEllaRuntime(Instrument.java:395)
at com.apposcopy.ella.Instrument.instrument(Instrument.java:42)
at com.apposcopy.ella.Main.main(Main.java:42)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.apposcopy.ella.Instrument.mergeEllaRuntime(Instrument.java:386)
... 2 more
Caused by: java.io.FileNotFoundException: /Users/nicoostendorf1/Desktop/ella/bin/ella.runtime.dex (No such file or directory)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:216)
at java.base/java.io.FileInputStream.(FileInputStream.java:157)
at com.android.dex.Dex.(Dex.java:113)
at com.android.dx.merge.DexMerger.main(DexMerger.java:1118)
... 7 more
I don't have any Idea how to solve this problem.. If anyone could help me I would be very thankful!!
from ella.
Related Issues (14)
- Issue with deploying ella web app HOT 5
- Not considering the situation where message breaks are truncated due to the buffer length
- Caused by: org.jf.util.ExceptionWithContext: debug info items must have non-decreasing code addresses HOT 1
- ant error? HOT 2
- Error when build Ella, "java.lang.RuntimeException: The executable 'android' is not in the path" HOT 2
- Cannot run ella.sh i <apk path>
- issue: Error to execute ella.i.sh <path-to-apk> HOT 3
- Can Ella work without the front end, or web-server? HOT 1
- Cannot run program "dx". HOT 3
- Issue: Error occurred while instrumenting HOT 5
- Error on Instrument the app
- How to record timestamp and values of arguments of executed methods?
- multidex support HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ella.