Giter Site home page Giter Site logo

Comments (22)

jeromehan avatar jeromehan commented on May 7, 2024

想跑一下demo但是跑起来就报错, 以前没用过android studio

#39

from hippy.

lijibing01 avatar lijibing01 commented on May 7, 2024

@jeromehan 大佬这个是啥问题啊,版本太高了吗,我一点那个upgrade plugin发现会把代码也改了,导致还是跑不起来,我应该怎么做

from hippy.

lijibing01 avatar lijibing01 commented on May 7, 2024

image

from hippy.

jeromehan avatar jeromehan commented on May 7, 2024

image

from hippy.

lijibing01 avatar lijibing01 commented on May 7, 2024

这个命令在windows是可以运行的吗

from hippy.

lijibing01 avatar lijibing01 commented on May 7, 2024

image

from hippy.

jeromehan avatar jeromehan commented on May 7, 2024

这个命令在windows是可以运行的吗

就是windows快捷方式的意思,名字命名成mips64el-linux-android

from hippy.

lijibing01 avatar lijibing01 commented on May 7, 2024

image

from hippy.

jeromehan avatar jeromehan commented on May 7, 2024

源码说明
编译要求: 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.

lijibing01 avatar lijibing01 commented on May 7, 2024

感谢大佬,重启电脑没有解决。注释代码解决的。晚点研究一下cmake。还想问个问题,如果想用这个框架开发APP的话怎么调原生的功能啊,比如支付,打开别的app,消息推送

from hippy.

jeromehan avatar jeromehan commented on May 7, 2024

感谢大佬,重启电脑没有解决。注释代码解决的。晚点研究一下cmake。还想问个问题,如果想用这个框架开发APP的话怎么调原生的功能啊,比如支付,打开别的app,消息推送

本来hippy就是fork rn代码,在它的基础上修改的。会rn基本上没什么问题了

from hippy.

lijibing01 avatar lijibing01 commented on May 7, 2024

好的,谢谢大佬

from hippy.

aluo44 avatar aluo44 commented on May 7, 2024

执行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.

lijibing01 avatar lijibing01 commented on May 7, 2024

@aluo44 是ln 不是in

from hippy.

aluo44 avatar aluo44 commented on May 7, 2024

@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.

lijibing01 avatar lijibing01 commented on May 7, 2024

用git bash不要用cmd试试
image

from hippy.

aluo44 avatar aluo44 commented on May 7, 2024

好了 谢谢

from hippy.

aluo44 avatar aluo44 commented on May 7, 2024

刚才那个好了 又出现新问题了
微信截图_20191231161735

from hippy.

lijibing01 avatar lijibing01 commented on May 7, 2024

看下是不是ndk没有配置
image

from hippy.

aluo44 avatar aluo44 commented on May 7, 2024

配好了 环境也检查过了 确定没有问题
微信截图_20191231162602

from hippy.

lijibing01 avatar lijibing01 commented on May 7, 2024

那就不清楚啦,可能你需要那位大佬的帮助

from hippy.

churchill-zhang avatar churchill-zhang commented on May 7, 2024

cmake版本对吗

from hippy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.