Android Build Fail: Note: the configuration keeps the entry point

14 views
Skip to first unread message

David Wafula

unread,
Mar 27, 2020, 5:15:19 PM3/27/20
to CodenameOne Discussions
Not sure whether i changed anything (am almost sure i did't). But my builds just started failing with following notes:
---
.......
Note: the configuration refers to the unknown field 'com.google.android.gms.common.api.internal.BasePendingResult.ReleasableResultGuardian <fields>' in class 'com.google.android.gms.common.api.internal.BasePendingResult'
Note: the configuration keeps the entry point 'com.codename1.impl.android.AndroidNativeUtil { void addLifecycleListener(com.codename1.impl.android.LifecycleListener); }', but not the descriptor class 'com.codename1.impl.android.LifecycleListener'
Note: the configuration keeps the entry point 'com.codename1.impl.android.AndroidNativeUtil { void removeLifecycleListener(com.codename1.impl.android.LifecycleListener); }', but not the descriptor class 'com.codename1.impl.android.LifecycleListener'
Note: the configuration keeps the entry point 'com.codename1.impl.android.AndroidNativeUtil { void startActivityForResult(android.content.Intent,int,com.codename1.impl.android.IntentResultListener); }', but not the descriptor class 'com.codename1.impl.android.IntentResultListener'
Note: the configuration keeps the entry point 'com.codename1.impl.android.AndroidNativeUtil { void startActivityForResult(android.content.Intent,com.codename1.impl.android.IntentResultListener); }', but not the descriptor class 'com.codename1.impl.android.IntentResultListener'
Note: the configuration keeps the entry point 'com.codename1.impl.android.AndroidNativeUtil { void registerViewRenderer(java.lang.Class,com.codename1.impl.android.AndroidNativeUtil$BitmapViewRenderer); }', but not the descriptor class 'com.codename1.impl.android.AndroidNativeUtil$BitmapViewRenderer'
Note: the configuration keeps the entry point 'com.codename1.impl.android.InPlaceEditView { void setEditedTextField(com.codename1.ui.TextArea); }', but not the descriptor class 'com.codename1.ui.TextArea'
Note: the configuration keeps the entry point 'com.codename1.social.GoogleImpl { void nativeLoginImpl(com.google.android.gms.common.api.GoogleApiClient); }', but not the descriptor class 'com.google.android.gms.common.api.GoogleApiClient'
Note: the configuration keeps the entry point 'com.codename1.social.GoogleImpl { com.google.android.gms.common.api.GoogleApiClient getClient(com.codename1.util.SuccessCallback); }', but not the descriptor class 'com.codename1.util.SuccessCallback'
Note: the configuration keeps the entry point 'com.codename1.social.GoogleImpl { void access$000(com.codename1.social.GoogleImpl,com.google.android.gms.common.api.GoogleApiClient); }', but not the descriptor class 'com.google.android.gms.common.api.GoogleApiClient'
.............
--
David W

Shai Almog

unread,
Mar 28, 2020, 2:34:43 AM3/28/20
to CodenameOne Discussions
Hi,
it's hard to tell without the full log that also includes the build hints etc. If there's a privacy issue involved you can use the chat button on the website.

David Wafula

unread,
Mar 28, 2020, 5:55:09 AM3/28/20
to CodenameOne Discussions
Thanks Shai,

I have send the logs, settings on the chat

On Sat, Mar 28, 2020 at 8:34 AM Shai Almog <shai....@gmail.com> wrote:
Hi,
it's hard to tell without the full log that also includes the build hints etc. If there's a privacy issue involved you can use the chat button on the website.

--
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/2991e6bc-b947-4d71-9dfb-e8bab77c61f1%40googlegroups.com.


--
David W

David Wafula

unread,
Mar 28, 2020, 6:20:20 AM3/28/20
to CodenameOne Discussions
I managed to get past these by adding these android proguard settings:
-dontnote android.net.http.** -dontnote org.apache.commons.codec.** -dontnote org.apache.http.** -dontnote com.codename1.** -dontnote com.apperhand.** -dontnote com.google.android.** -dontnote com.google.firebase.**

Still not sure why the warnings started appearing....
--
David W
Reply all
Reply to author
Forward
0 new messages