Monaca build不会处理phonegap插件

时间:2015-07-29 18:10:46

标签: cordova android-manifest phonegap-plugins onsen-ui monaca

所以我的问题是,当我从monaca导出项目并在phonegap中构建它时,我对插件没有任何问题。但是,当我在Monaca中构建时,phonegap插件无法正常工作。我是Monaca IDE的新手,我的清单上是否还有其他东西?

我的宣言:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:gap="http://phonegap.com/ns/1.0" android:hardwareAccelerated="true" android:versionCode="" android:versionName="1.0.0" android:windowSoftInputMode="adjustPan" package="com.solsticeservice.livingword">
    <gap:plugin name="org.apache.cordova.file" version="1.3.1"/>
    <gap:plugin name="org.apache.cordova.file-transfer" version="0.4.6"/>
    <gap:plugin name="org.apache.cordova.network-information" version="0.2.12"/>
    <gap:plugin name="de.appplant.cordova.plugin.email-composer" version="0.8.2"/>
    <gap:plugin name="nl.x-services.plugins.socialsharing" source="plugins.cordova.io"/>
    <gap:plugin name="org.apache.cordova.inappbrowser"/>
  <supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true"/>
  <uses-permission android:name="android.permission.INTERNET"/>
  <application android:hardwareAccelerated="true" android:icon="@drawable/icon" android:label="Living Word">
     <activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="Living Word" android:name="MainActivity" android:theme="@android:style/Theme.Black.NoTitleBar">
      <intent-filter>
        <action android:name="android.intent.action.MAIN"/>
        <category android:name="android.intent.category.LAUNCHER"/>

      </intent-filter>
    </activity>
  </application>
  <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="19"/>
</manifest>

我的WWW / config.xml:

<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:gap="http://phonegap.com/ns/1.0" id="com.solsticeservice.livingword" version="1.0.0">
  <name>Living Word</name>
  <description>Living Word Evangelical Free Church</description>
  <author/>
  <gap:plugin name="org.apache.cordova.file" version="1.3.1"/>
  <gap:plugin name="org.apache.cordova.file-transfer" version="0.4.6"/>
  <gap:plugin name="org.apache.cordova.network-information" version="0.2.12"/>
  <gap:plugin name="de.appplant.cordova.plugin.email-composer" version="0.8.2"/>
  <gap:plugin name="nl.x-services.plugins.socialsharing" source="plugins.cordova.io"/>
  <gap:plugin name="org.apache.cordova.inappbrowser"/>
  <content src="index.html"/>
  <preference name="loglevel" value="DEBUG"/>
  <preference name="AndroidLaunchMode" value="singleTop"/>
  <preference name="ErrorUrl" value=""/>
  <preference name="SplashScreen" value="screen"/>
  <preference name="monaca:DisableCookie" value="false"/>
  <feature name="App">
    <param name="android-package" value="org.apache.cordova.App"/>.............etc

0 个答案:

没有答案