Comments (22)
想跑一下demo但是跑起来就报错, 以前没用过android studio
from hippy.
@jeromehan 大佬这个是啥问题啊,版本太高了吗,我一点那个upgrade plugin发现会把代码也改了,导致还是跑不起来,我应该怎么做
from hippy.
from hippy.
from hippy.
这个命令在windows是可以运行的吗
from hippy.
from hippy.
这个命令在windows是可以运行的吗
就是windows快捷方式的意思,名字命名成mips64el-linux-android
from hippy.
from hippy.
源码说明
编译要求: android Studio 2.2以上版本
NDK r14b以上
配置自己sdk里面的cmake到环境变量
如window下cmake的路径:D:\sdk\cmake\3.6.4111459\bin
编译步骤:
1:把项目导入Android studio
2: 选择sdk工程的assembleRelease进行编译
常见问题:如果发现上面的步骤都ok了但是还是编译不过可以尝试重启一下电脑,或者注销一下,这样是为了保证环境变量生效。
如果一直报编译不过可以展示屏蔽掉sdk目录下面的build.gradle这个函数
buildNdkLibs(dependsOn: (ISCI.toBoolean() ? dealNdkLibSymbols : stripSO), type: Copy)
改为 buildNdkLibs( type: Copy) 这样只是不去编译c++代码
windows需要配置cmake环境变量、现在是找不到cmake的位置报错的。如果真配置不好环境变量就把编译c++代码干掉吧
from hippy.
感谢大佬,重启电脑没有解决。注释代码解决的。晚点研究一下cmake。还想问个问题,如果想用这个框架开发APP的话怎么调原生的功能啊,比如支付,打开别的app,消息推送
from hippy.
感谢大佬,重启电脑没有解决。注释代码解决的。晚点研究一下cmake。还想问个问题,如果想用这个框架开发APP的话怎么调原生的功能啊,比如支付,打开别的app,消息推送
本来hippy就是fork rn代码,在它的基础上修改的。会rn基本上没什么问题了
from hippy.
好的,谢谢大佬
from hippy.
执行In -sf aarch64-linux-android-4.9 mips64el-linux-android的时候报错了
C:\Users\apple\AppData\Local\Android\Sdk\ndk\20.1.5948944\toolchains>In -sf aarc
h64-linux-android-4.9
'In' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
from hippy.
@aluo44 是ln 不是in
from hippy.
@lijibing01 C:\Users\apple\AppData\Local\Android\Sdk\ndk\20.1.5948944\toolchains>ln -sf aarc
h64-linux-android-4.9 mips64el-linux-android
'ln' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
这个也是一样
from hippy.
from hippy.
好了 谢谢
from hippy.
from hippy.
from hippy.
from hippy.
那就不清楚啦,可能你需要那位大佬的帮助
from hippy.
cmake版本对吗
from hippy.
Related Issues (20)
- A crash occurred JSCCtxValue JSValueUnprotect(context_,value_) HOT 3
- Animation模块repeatCount为0时,调用start后,如果想再次执行此动画如何操作? HOT 2
- View组件的style嵌套text样式会导致崩溃 HOT 2
- 现在有计划支持 harmony 系统吗?
- _pas_large_expendable_memory_allocate 崩溃 HOT 2
- Android router中和BackAndroid中对back键监听的疑问 HOT 1
- AnimationSetOption缺失virtual字段导致编译失败 HOT 2
- 多jsbundle打开子页面如何传参? HOT 2
- support Vite HOT 3
- 请求优化 HOT 2
- 关于Android系统TextInput的问题 HOT 2
- hippy-vue ul li 渲染listView li 重叠问题 HOT 2
- 拉不到tdf依赖 HOT 2
- 看了文档好久也没看明白开发阶段如何边写边预览呢? HOT 2
- crash HOT 3
- 会支持harmony系统吗? HOT 3
- [HippyJSCExecutor executeApplicationScript:sourceURL:isCommonBundle:onComplete:]_block_invoke (HippyJSCExecutor.mm:773) HOT 2
- iOS Hippy 2.17.2 HPOPAnimator Crash HOT 3
- hippy-vue-next-demo项目启动报错 HOT 2
- 步骤太乱了 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 hippy.