Comments (14)
@sgong-pdftron Thanks for feedback.
Would it be possible if you could give it another try? Thanks!
Of course. Just, we are (I am) trying to launch AndroidX release 1st. I hope I wll come to this issue in next few days.
@matheussouza97 Thanks for the feedback. Appreciated.
from androidx.
@sgong-pdftron No need to be sorry. Git happens.
I'll check that.
from androidx.
Hi! Is there any known workaround for this? Thanks!
from androidx.
Any news? My binding is not working because of this error.
from androidx.
LifecycleOwner
is ILifecycleOwner
in c# and it is surfaced in preview3.
https://developer.android.com/reference/androidx/lifecycle/LifecycleOwner
Do you have maybe linker turned on?
Can you give more info on proguard rules?
from androidx.
@moljac I've included a project that you can reproduce this issue in the first post. Were you able to try that?
from androidx.
@sgong-pdftron
I tried your previous sample, but had to remove (unload) some projects . and was not sure if that was completely OK.
And BTW I really did not have that much time.
if you have something smaller it would be appreciated.
from androidx.
@sgong-pdftron Can you try preview03
of the packages that was released yesterday.
from androidx.
@moljac Thanks for your reply!
I've just tried preview03 however the exact same error is still present.
The sample project does contain a number of projects however the only projects relevant is the "PDFNetAndroid" and "PDFViewCtrlTools" project. You can unload everything other than these 2 projects.
Clean and build "PDFViewCtrlTools" project will generate the error. Would it be possible if you could give it another try? Thanks!
from androidx.
I tried here and got the same error. :(
from androidx.
@sgong-pdftron
Can you please gist ProjectReferences from PDFViewCtrlTools, please?
You have mixture of legacy Android.Support and AndroidX. Why? I have no idea. GooglePlayServices are not AndroidX ready yet, but you are not using those.
from androidx.
@moljac sorry about that. Here is the updated project, all support lib is removed from PDFViewCtrlTools:
project:
https://pdftron.s3.amazonaws.com/custom/external/xamarin/androidx/to-Xamarin-v2.zip
log:
https://pdftron.s3.amazonaws.com/custom/external/xamarin/androidx/androidx-error2.txt
from androidx.
@sgong-pdftron
Sorry, but unable to reproduce and I don't have time to dive deeper into those bindings.
- uncommented 2
Native*.cs
classes to shyt up compiler - there still are issues with bindings (type conversion pdf.Tools - tools.aar)
Other suspicious stuff:
- bunch of
Xamarin.AndroidX
inlibs\android\
folder. Stale versions might cause this issue
And please: do not zip packages
folders. Those should be restored.
Closing this one. If issue persist (WITH SMALLER REPRO SAMPLE) reopen new issue please.
from androidx.
Thanks for the tips!
I was able to get it working again by start fresh, i.e. create a new binding project and add in androidx dependencies and other metadata in the new binding project. With preview-6 the binding project is working again! Thanks for all the help!
from androidx.
Related Issues (20)
- Type-forwarding for binding libraries HOT 3
- Deprecate Xamarin.AndroidX.Legacy.Support.V4 HOT 2
- Bind "androidx.credentials" HOT 16
- [Bug] Lottie package throwing error while creating the release build in Android after switching to target framework 13 HOT 26
- Bind "androidx.health:health-services-client" HOT 30
- Releases - Where are they? HOT 1
- [Bug] `androidx.credentials` null Exception HOT 6
- com.android.tools.r8.ResourceException: com.android.tools.r8.internal.vc: I/O exception while reading HOT 3
- AndroidX.Credentials ICredentialManagerCallback wrong parameter types. HOT 2
- Can't get past `javac: error: package androidx.fragment.app does not exist` HOT 4
- CameraSelector.Builder().AddCameraFilter effectively unusable (cannot select specific camera lens) HOT 2
- Xamarin.AndroidX.Biometric not building starting at version 1.1.0.17 (.NET MAUI) HOT 3
- Issue with CustomTabsActivityManager and multiple activities HOT 3
- Bind "androidx/emoji2/emoji2-picker" HOT 2
- Announcement: Xamarin.Android and .NET 6/7 no longer supported
- "Specified cast is not valid" when using SetOnItemSelectedListener of NavigationBarView HOT 6
- `Xamarin.Jetbrains.Annotations` namespace clash with `JetBrains.Annotations` causes CS0433 build failure HOT 1
- Can't install Xamarin.AndroidX.AppCompat and RecyclerView latest versions into Xamarin project HOT 2
- androidx.profileinstaller.ProfileInstaller.writeProfile java.lang.ClassNotFoundException: Didn't find class "com.google.common.util.concurrent.ListenableFuture" on path: DexPathList HOT 6
- Announcement: .NET 7 no longer supported HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from androidx.