I am using androidStudio-4.1 version and there the sceneform plugin is deprecated. So I included a module from GitHub https://github.com/google-ar/sceneform-android-sdk and use the same steps as suggested on Github but getting an error at "import android.support.annotation.Nullable;" and another related import issue.
I understood that I need to upgrade Sceneform's source code to androidx but I do not know how to do this.
Please suggest me.
There is a fork of Sceneform which is currently being kept up to date and which already has this update to AndroidX included and tested:
https://github.com/thomasgorisse/sceneform-android-sdk
It might be useful to consider using this as you may get better support and a wider community of people to share information with if you do.
See also the thread which refers to this fork and some recent experience using Sceneform after the official depreciation of the origin library: https://github.com/google-ar/arcore-android-sdk/issues/1049
replace line "import android.support.annotation.Nullable;" with "import androidx.annotation.Nullable;" through-out folder files ('sceneformsrc', 'sceneformux').
Make sure that you only implement one sceneform inside build.gradle file.
Goto build --> Rebuild Project, the problem will be resolved
Related
I'm getting the following error compiling a program using a 3rd party library:
Error:(xx) No resource identifier found for attribute 'tint' in package 'com.example.mycompany.myapp'
The line xx is inside the xml layout that includes a custom component defined in the library.
cntrlco:tint="42"
The xml namespace documentation says I need the following:
xmlns:cntrlco="http://schemas.android.com/apk/res-auto"
Here's my best guess as to the problem, but if you think otherwise please let me know, this is a guess.
I suspect I don't have the library installed completely. The reason is that the library instructions want the library installed from maven. I'm not up on this technique, but it appears to be a web based auto install that automates dependency installs while performing the primary install. Nice idea, but I can't install using the web (long story), so I included the .aar file locally.
From my research, installing .aar files locally won't look at its dependencies. If this is true and the "tint" property is defined in a dependency, then this would explain the error I'm seeing.
Is there a way to follow the error chain in more detail so I can verify my theory? Along the way, will this help me find the name of the possible missing dependencies so I can see if including them fixes the problem.
I have tried to integrate Admob Ads. The very first step is to add these statements to build.gradle.
Project Level
dependencies {
classpath 'com.google.gms:google-services:3.0.0'
}
Module level:
dependencies {
compile 'com.google.firebase:firebase-ads:9.2.0'
}
apply plugin: 'com.google.gms.google-services'
But when synced getting
Failed to resolve: com.google.firebase:firebase-ads:9.2.0
How can I integrate these advertisements?
You have to update your Google Play Service to the last version, currently is 31, also your Google Repository must be the last too, now is 29.
I just integrated Firebase analytics as well. I had the same problem though! What seems to fix the problem is changing compile 'com.google.firebase:firebase-core:9.2.0' to compile 'com.google.firebase:firebase-core:9.0.2'. Basically the 9.2.0 should be 9.0.2. I was using this tutorial, and it said to use 9.2.0. I am assuming either the tutorial has a typo or something needs to be updated. This will work though! :)
Looks like you have a typo with the version.
Replace compile 'com.google.firebase:firebase-ads:9.2.0' with compile 'com.google.firebase:firebase-ads:9.0.2'
Update: 9.2.0 is a valid version. You might be able to use 9.2.0, but you have to update Google Services from the SDK Manager. If that doesn't work, then stick with 9.0.2 until we find something.
Updating google services in SDK Manager helped me.
Update all your google services version from 9.0.2 to 9.2.0.
I checked out a project form Team Foundation. As you can see in the picture, I used nuget to restore the missing packages. However, the reference problems are not resolved at all.
When I right click on my solution and choose Manage Nuget Packet for Solution, here is what I've got
I thought it means that I have download all the package but they are not added to my project because there are still many build errors. If I use Package Manager Console to download each package separately, the version will conflict with the original. I would like to see if there are any automatic way to resolve this problem.
Thanks in advance
Remember to check out the package folder outside the project folder.
At Latest API documentation NodaTime.Serialization.JsonNet is shown as a part of NodaTime library.
But I can't find it anywhere. Here's the NodeTime in ObjectBrowser in my VisualStudio.
I even looked into NodeTime.Testing and haven't found it.
I don't know where to look for it anymore. These two (NodeTime and NodeTime.Testing) are only packages available over NuGet.
From the page you linked to:
Code in this namespace is not currently included in Noda Time NuGet packages; it is still deemed "experimental". To use these serializers, please download and build the Noda Time source code from the project home page.
For 1.2, we'll be distributing a separate pre-built assembly and NuGet package, but that's not quite ready yet, so for now you'll have to build your own.
Does anyone know how to patch and install couchdb-lounge on a Ubuntu box?
Project here:
http://github.com/tilgovi/couchdb-lounge
Now, I know there is a installation instructions provided here:
http://wiki.github.com/tilgovi/couchdb-lounge/buildinstructions
but it seems out-of-date. From there I see that you need to patch one file but on the src I saw that there are multiple patch files. If I patched them all on CouchDB 0.10.1 it will give me a syntax error.
So my questions are:
Which version of CouchDB should I patch with?
Which patches do I need to patch before getting it to work?
Thanks,
Check here: http://nakubu.com/post/23
I followed the instructions and they seemed to work.
Sorry it's a bit late :)