Giter VIP home page Giter VIP logo

Comments (8)

oncealong avatar oncealong commented on July 20, 2024 3

以前没有使用过git的module模块, 这里补充下:

clone Submodule

  1. 下载代码时使用git clone https://github.com/android-hacker/VirtualXposed.git --recursive
  2. 先clone父项目,再初始化Submodule.
git clone https://github.com/android-hacker/VirtualXposed.git
cd VirtualXposed\VirtualApp\launcher
git submodule init
git submodule update

但是对VirtualXposed, 这两种方法都会报错, 错误是

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:android-hacker/Launcher3.git' into submodule path 'E:/reverseEngineer/VX/VirtualXposed/VirtualApp/launcher' failed
Failed to clone 'VirtualApp/launcher'. Retry scheduled
Cloning into 'E:/reverseEngineer/VX/VirtualXposed/VirtualApp/launcher'...
ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.

这里的错误原因是因为使用了[email protected]:android-hacker/Launcher3.git, 非此项目拥有者没有权限. 我们需要用https://github.com/android-hacker/Launcher3.git替代. 找到.git/config.gitmodules文件, 修改后即可正常clone代码.

参考资料:
https://segmentfault.com/a/1190000003076028
fastio/1store#6

from virtualxposed.

tiann avatar tiann commented on July 20, 2024 2

拉一下最新的VirtualXposed代码;这部分已经没有用了。

from virtualxposed.

tiann avatar tiann commented on July 20, 2024

launcher 是一个submodule,不用单独clone;直接更新submodule即可。

from virtualxposed.

oncealong avatar oncealong commented on July 20, 2024

导入时报错如下, 请问如何解决? 没有搜到关于me.weishu.exposed:exposed-core的资料.

Error:Failed to resolve: me.weishu.exposed:exposed-core:0.3.6
<a href="openFile:E:/reverseEngineer/tools/VirtualXposed/VirtualApp/app/build.gradle">Open File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>

已根据wiki将exposed-core改为 0.3.6.

from virtualxposed.

oncealong avatar oncealong commented on July 20, 2024

me.weishu.exposed:exposed-core:0.3.6改为me.weishu.exposed:exposed-core:0.+, 会自动下载0.3.5版本, 所以wiki应该是打错字了. 应该使用me.weishu.exposed:exposed-core:0.3.5

from virtualxposed.

oncealong avatar oncealong commented on July 20, 2024

make project时又遇到如下错误.

Error:(1447, 21) No resource found that matches the given name: attr 'indicatorName'.
Error:(1446, 21) No resource found that matches the given name: attr 'maxHeight'.
Error:(1444, 21) No resource found that matches the given name: attr 'maxWidth'.
Error:(1445, 21) No resource found that matches the given name: attr 'minHeight'.
Error:(1445, 21) No resource found that matches the given name: attr 'minHeight'.

image

感觉很莫名其妙, 将如下样式注释掉解决, @tiann 请问这个是什么原因导致的.

    <!--<style name="AVLoadingIndicatorView">-->
        <!--<item name="minWidth">48dip</item>-->
        <!--<item name="maxWidth">48dip</item>-->
        <!--<item name="minHeight">48dip</item>-->
        <!--<item name="maxHeight">48dip</item>-->
        <!--<item name="indicatorName">BallPulseIndicator</item>-->
    <!--</style>-->

image

from virtualxposed.

oncealong avatar oncealong commented on July 20, 2024

接下来make project又遇到错误, 这次更不可思议, 是Epic.collectOffsetInfo()报错, 显示Epic没有collectOffsetInfo()这个方法.
image
不知道是哪个组件使用的me.weishu:epic:0.3.3, 我去看了最新版的Epic https://github.com/tiann/epic/blob/master/library/src/main/java/me/weishu/epic/art/Epic.java, 确实没有找到这个方法.
image

@tiann 请问这个是由于什么导致的?

from virtualxposed.

ygd2013520 avatar ygd2013520 commented on July 20, 2024

用AS打开,最后出现如下错误,无法解决
2018-08-15 3 58 37

from virtualxposed.

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.