File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 22[ ![ Download] ( https://maven-badges.herokuapp.com/maven-central/io.github.taoweiji.quickjs/quickjs-android/badge.svg )] ( https://search.maven.org/search?q=io.github.taoweiji.quickjs ) 
33
44
5- quickjs-android 是 QuickJS JavaScript 引擎的 Android 接口框架,整体基于面向对象设计,提供了自动GC功能,使用简单。armeabi-v7a 的大小仅 350KB,是 Google V8 不错的替代品,启动速度比 V8 快,内存占用更低,支持 [ ES2020] ( https://tc39.es/ecma262/ ) 。
5+ [ quickjs-android] ( https://github.com/taoweiji/quickjs-android )  是 QuickJS JavaScript 引擎的 Android 接口框架,整体基于面向对象设计,提供了自动GC功能,使用简单。armeabi-v7a 的大小仅 350KB,是 Google V8 不错的替代品,启动速度比 V8 快,内存占用更低,支持 [ ES2020] ( https://tc39.es/ecma262/ ) 。
66
77
88### 使用教程  
99
1010##### 引入依赖  
1111
1212``` groovy 
13- implementation 'io.github.taoweiji.quickjs:quickjs-android:1.1.4 ' 
13+ implementation 'io.github.taoweiji.quickjs:quickjs-android:1.+ ' 
1414``` 
1515
1616##### 简单示例  
@@ -43,6 +43,7 @@ QuickJS quickJS = QuickJS.createRuntime();
4343JSContext  context =  quickJS. createContext();
4444int  result =  context. executeIntegerScript(" var a = 2+10;\n  a;" " file.js" 
4545String  result =  context. executeStringScript(" 'Hello World';" " file.js" 
46+ context. close();
4647``` 
4748
4849##### JSObject  
                         You can’t perform that action at this time. 
           
                  
0 commit comments