Git Product home page Git Product logo

Comments (12)

lxj1137800599 avatar lxj1137800599 commented on May 23, 2024 1

插件·编译报错The directory of host application doesn't exist!
需要把targetHost = '../app' 这样改。
我也不知道为什么,其实原本的写法按照理论来讲是行得通的

from virtualapk.

zengyunpeng avatar zengyunpeng commented on May 23, 2024

插件里面的activity没有使用appCompat Theme,但是代码我没改动过啊

from virtualapk.

chenenyu avatar chenenyu commented on May 23, 2024

插件apk是怎么生成的?

from virtualapk.

sjtuwzx avatar sjtuwzx commented on May 23, 2024

我也遇到了这问题,插件apk是./gradlew assemble生成的

from virtualapk.

chenenyu avatar chenenyu commented on May 23, 2024

@zengyunpeng @sjtuwzx ./gradlew assemblePlugin

from virtualapk.

zengyunpeng avatar zengyunpeng commented on May 23, 2024

@chenenyu 用gradlew assemblePlugin命令报错啊

  • What went wrong:
    A problem occurred configuring project ':app'.

The directory of host application doesn't exist!

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 1.618 secs

from virtualapk.

chenenyu avatar chenenyu commented on May 23, 2024

The directory of host application doesn't exist!

这很明显,插件中配置的targetHost不对... 看看PluginDemo中怎么配置的

from virtualapk.

fly7632785 avatar fly7632785 commented on May 23, 2024

同问? 我看了plugindemo里面的theme都是 theme.appcompat的主题 为什么还是不行

from virtualapk.

hlmichael avatar hlmichael commented on May 23, 2024

我把pluginDemo里面的BookManagerActivity改成集成Activity就可以了

from virtualapk.

fly7632785 avatar fly7632785 commented on May 23, 2024

@hlmichael 我根据wiki的 命令行方式运行 好了 , 貌似是如果release版没有问题

from virtualapk.

singwhatiwanna avatar singwhatiwanna commented on May 23, 2024

@ALL 请不要自己找土方法去解决,参考wiki即可。

from virtualapk.

fendouwangzi avatar fendouwangzi commented on May 23, 2024

@lxj1137800599 你这种方式是对的,完美

from virtualapk.

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.