Proguard抱怨com.google.api.client.extensions.jdo的重复定义

时间:2015-02-12 20:46:38

标签: android apk proguard datanucleus google-eclipse-plugin

我从Proguard那里得到了一个我以前从未得过的错误。我希望有人可以帮助我,因为我不知所措。

对于某些背景:我刚刚更新了我的Google Eclipse插件和DataNucleus,因为我正在使用App-Engine Connected Android Project。我昨天做了更新,因为它是必需的(即除非我更新,否则App引擎拒绝生成我的端点)。所以现在我正在尝试创建一个外部签名的APK以放在Play商店。我经历了正常的过程,我几乎每隔一天都这样做。但是今天我收到了错误跟踪。拜托,有人帮帮我。任何提示,任何线索,任何东西。再一次,我什么也做不了,我并不总是这样做。我的应用在真实设备上测试很好。我现在正在尝试为app商店创建一个apk。

Proguard returned with error code 1. See console
 Note: there were 364 duplicate class definitions.
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find superclass or interface javax.jdo.spi.PersistenceCapable
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory: can't find referenced class javax.jdo.PersistenceManagerFactory
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory: can't find referenced class javax.jdo.PersistenceManagerFactory
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory: can't find referenced class javax.jdo.PersistenceManagerFactory
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory: can't find referenced class javax.jdo.PersistenceManagerFactory
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.PersistenceManagerFactory
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.Query
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.PersistenceManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.PersistenceManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.PersistenceManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.PersistenceManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.PersistenceManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.Query
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.Query
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.Query
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.Query
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.PersistenceManagerFactory
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.Query
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.PersistenceManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.PersistenceManagerFactory
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.PersistenceManagerFactory
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.PersistenceManagerFactory
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.Query
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.PersistenceManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.Query
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.PersistenceManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.Query
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.PersistenceManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.Query
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.PersistenceManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.Query
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.PersistenceManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.Query
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.PersistenceManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.PersistenceManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.Query
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.PersistenceManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.Query
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.Query
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.Query
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.Query
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.PersistenceManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.Query
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.PersistenceManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.Query
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.Query
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.Query
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.PersistenceCapable
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.JDOImplHelper
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.JDOImplHelper
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.PersistenceCapable$ObjectIdFieldConsumer
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.PersistenceCapable$ObjectIdFieldConsumer
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.PersistenceCapable$ObjectIdFieldSupplier
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.PersistenceCapable$ObjectIdFieldSupplier
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.StateManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.StateManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.StateManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.StateManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.StateManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.StateManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.StateManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.StateManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.StateManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.StateManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.StateManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.StateManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.StateManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.StateManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.JDOImplHelper
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.StateManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.StateManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.StateManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.StateManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.StateManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.StateManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.StateManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.StateManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.annotations.PrimaryKey
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.annotations.Persistent
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.annotations.PrimaryKey
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.annotations.Persistent
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.annotations.Persistent
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.StateManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.PersistenceCapable$ObjectIdFieldConsumer
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.PersistenceCapable$ObjectIdFieldConsumer
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.PersistenceCapable$ObjectIdFieldSupplier
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.PersistenceCapable$ObjectIdFieldSupplier
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.PersistenceManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.StateManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.StateManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.StateManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.PersistenceCapable
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.StateManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.StateManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.PersistenceCapable
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.spi.StateManager
 Warning: com.google.api.client.extensions.jdo.JdoDataStoreFactory$JdoValue: can't find referenced class javax.jdo.annotations.PersistenceCapable
       You should check if you need to specify additional program jars.
 Warning: there were 97 unresolved references to classes or interfaces.
          You may need to specify additional library jars (using '-libraryjars').
 java.io.IOException: Please correct the above warnings first.
    at proguard.Initializer.execute(Initializer.java:321)
    at proguard.ProGuard.initialize(ProGuard.java:211)
    at proguard.ProGuard.execute(ProGuard.java:86)
    at proguard.ProGuard.main(ProGuard.java:492)

1 个答案:

答案 0 :(得分:0)

尝试将以下内容添加到proguard-project.txt

  

-dontwarn javax.jdo.**