Comments (5)
I compiled with API 19. I had attempted to build with API 16 because I wanted to test on a MIPS configuration I had in the emulator, but for some reason, although it built, it would not run. I didn't spend any more time on it and reverted back to API 19. Feel free to try and build with a lower API. You can achieve that by editing the following dictionary in scripts/build
:
ANDROID_APIS = {
'armeabi' : '19',
'armeabi-v7a' : '19',
'arm64-v8a' : '21',
'x86' : '19',
'x86_64' : '21',
'mips' : '19',
'mips64' : '21'
}
Change it to whichever API you want.
You will then need to change minSdkVersion
in AndroidJSCore/build.gradle
to whatever you've changed it to. Then run the build
script.
Let me know how it goes. If it works for lower APIs, I will put it in the next release. At the moment, I am working on trying to get the 64-bit architectures to work, and JIT on ARM. Those are my goals for version 2.1. Will include the lower API if it works.
from androidjscore.
Here is my test on android(4.0,4.1 4.2 4.3). Only 26.83% passed.
the main reason is because of log2....
so I use another one android-jsc
on my test ,84% passed.
My partner found the project have some problem because of Memory leak。
He have resolved。but he does not know how to contact with you .
from androidjscore.
This is great. I can be contacted in any number of ways. If you want to email me, please send to eric at flicket dot tv. Otherwise you can raise a pull request. Would love to see what memory leaks have been uncovered!
from androidjscore.
The head version now works with API 16+ (min Jellybean). At the moment, I don't have any plans to go back further because older APIs use an older version of the standard template libraries, but JavaScriptCore requires a newer version. According to Google, API 16+ should cover 94% of devices in the wild. When I release 2.1, this support will be there. Should be in the next couple of days. But in the interim, you can build from source.
from androidjscore.
This issue is now fixed in 2.1. API 16+ is now supported. As noted above, I don't plan to add support pre- API 16, as it would require a much older build of webkit, and it is not worth it for the 6% of devices that still require it.
from androidjscore.
Related Issues (20)
- Optimizing library HOT 2
- i want to use this library for following use cases HOT 2
- NodeJs Packages in AndroidJSCore HOT 1
- Can I require the js module that stored in Android storage? HOT 2
- Call Java functions 10000 times from JS HOT 3
- Running a 20k lines JS file make app no response HOT 5
- Work around for JSObject slowness... JSON strings? HOT 2
- App crashes when trying to pass a Java callback HOT 2
- How can I cancel evaluateScript execution on infinite loops? HOT 1
- Multithreading and deadlock HOT 21
- How to debug JS HOT 1
- JavaScript Syntax error HOT 2
- How to access a nested JSValue? HOT 2
- Can get the JSContext from WebView? HOT 1
- Unsatisfied Link error When I copied the app to system/app
- Problem with android:supportsRtl="true" HOT 1
- Multiple JS Calls in multiple context HOT 1
- TypeError: undefined is not an object (evaluating 'Array.prototype') HOT 2
- Error:Execution failed for task ':app:transformNativeLibsWithMergeJniLibsForDebug'. HOT 8
- How to pass Custom Java object to AndroidJSCore HOT 2
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 androidjscore.