Coder Social home page Coder Social logo

mainlxl / android-so-handler Goto Github PK

View Code? Open in Web Editor NEW
29.0 29.0 3.0 21.51 MB

支持APK包中所有System.Load/LoadLibrary加载的So库文件(Maven、aar文件引入三方库、源码引入的so文件),对So文件进行7z压缩与云端下发,完成apk瘦身

C 12.11% CMake 0.80% Java 1.08% Kotlin 0.65% Groovy 0.23% Shell 0.44% C++ 78.32% Assembly 0.44% Makefile 0.92% Pawn 0.02% Lua 0.17% QMake 0.16% Prolog 0.42% NASL 0.01% HTML 2.80% CSS 0.30% Python 0.91% Roff 0.19% Logos 0.02%
android gradle gradle-plugin gradle-plugin-kotlin plugin so-file

android-so-handler's Issues

A dependency must not be empty

你好,按照 readme 中的流程接入,得到下面的错误

org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':app'
	at org.jetbrains.plugins.gradle.model.ProjectImportAction.execute(ProjectImportAction.java:125)
	at org.jetbrains.plugins.gradle.model.ProjectImportAction.execute(ProjectImportAction.java:42)
Caused by: org.gradle.api.InvalidUserDataException: A dependency must not be empty
	at com.imf.plugin.so.ApkSoFileAdjustPlugin.createTask(Plugin.kt:169)
	at com.imf.plugin.so.ApkSoFileAdjustPlugin.afterProjectEvaluate$lambda-1(Plugin.kt:139)
	at com.imf.plugin.so.ApkSoFileAdjustPlugin.afterProjectEvaluate(Plugin.kt:137)
	at com.imf.plugin.so.SoFilePlugin.apply$lambda-0(Plugin.kt:35)
	at jdk.proxy1/jdk.proxy1.$Proxy50.afterEvaluate(Unknown Source)
	at org.jetbrains.plugins.gradle.model.ProjectImportAction.execute(ProjectImportAction.java:125)
	at org.jetbrains.plugins.gradle.model.ProjectImportAction.execute(ProjectImportAction.java:42)

大概就是这行代码异常了
https://github.com/Android-Mainli/Android-So-Handler/blob/61c934a81010164c4003edda834cc38de45d2253/file-plugin/src/main/kotlin/com/imf/plugin/so/Plugin.kt#L169

请帮忙看看,需要怎么调试呢?

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.