Giter VIP home page Giter VIP logo

Comments (3)

giantss avatar giantss commented on September 18, 2024

你是不是少写了一个s,应该是colors.xml
解决方法

  1. 注释掉plugin.xml中下面的代码
    <source-file src="src/android/res/values/colors.xml" target-dir="res/values"/>大概在264行左右。

  2. <config-file target="AndroidManifest.xml" parent="/manifest">结束标签下面 大概在174行下(同级)添加如下代码:
    <config-file target="res/values/colors.xml" "parent="/*">

        <color name="theme_body">#cc22292c</color>
    
         <color name="black">#000000</color>
    
         <color name="status_bar">#303135</color>
    
         <color name="top_bar">#9f556061</color>
    
         <color name="transparent">#00000000</color>
    
    </config-file>
    
  3. 删除 src/android/res/values/目录下的colors.xml(不删也可以).

  4. 重新build.

from cordova-plugin-imagepicker.

leejunhui avatar leejunhui commented on September 18, 2024

不好意思才来回答,按照@giantss的思路,解决了该问题。

from cordova-plugin-imagepicker.

giantss avatar giantss commented on September 18, 2024

嗯,看来你不太关注自己的消息

from cordova-plugin-imagepicker.

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.