Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

rebuycamerasource-debug.aar missing; solution will not compile #58

Open
marcusts opened this issue Dec 8, 2016 · 4 comments
Open

rebuycamerasource-debug.aar missing; solution will not compile #58

marcusts opened this issue Dec 8, 2016 · 4 comments

Comments

@marcusts
Copy link

marcusts commented Dec 8, 2016

Helllo,

Can you add this missing file(s) back to the source? They prevents compilation of the solution.

rebuycamerasource-debug.aar
rebuycamerasource-release.aar

Stack Trace:

1>------ Rebuild All started: Project: CameraSourceBindings, Configuration: Debug Any CPU ------
1>C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Bindings.targets(467,5): error MSB4018: The "CreateLibraryResourceArchive" task failed unexpectedly.
1>C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Bindings.targets(467,5): error MSB4018: Xamarin.Tools.Zip.ZipIOException: Error occured while reading ..\RebuyCameraSource\RebuyCameraSource\build\outputs\aar\rebuycamerasource-debug.aar
1>C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Bindings.targets(467,5): error MSB4018: at Xamarin.Tools.Zip.ZipArchive.Open(String path, FileMode mode, String defaultExtractionDir, Boolean strictConsistencyChecks, IPlatformOptions options)
1>C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Bindings.targets(467,5): error MSB4018: at Xamarin.Android.Tasks.CreateLibraryResourceArchive.Execute()
1>C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Bindings.targets(467,5): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
1>C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Bindings.targets(467,5): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext()
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

@omares
Copy link
Member

omares commented Dec 14, 2016

Hey @marcusts,

the solution is relatively simple. Open your console and switch into the RebuyCameraSource directory of the project. In there execute the gradle clean build command. This will build the project and create the asked files:

**/*.aar
RebuyCameraSource/build/outputs/aar/rebuycamerasource-debug.aar

@marcusts
Copy link
Author

Hi,

I tried that, but it required gradle, which I do not have. The "gradlew.bat" file actually downloaded gradle and tried, but that failed because it needed the java sdk environment variable. I added that variable, and gradle crashed because it need a specific Java sdk (#23). I fixed that and gradle crashed because it tried to write to a "garbage" file location made up of odd string segments.

It would appear that we need someone on your side to just post the proper two filers and not ask to go through these other pre-steps.

I did receive two files from Ota, but they produced several compile and run errors -- "could not open archive" and "moveNext failed". So these two odd attachments seem to be causing quite a lot of headaches for Windows Visual Studio users.

@trilm208
Copy link

trilm208 commented Jan 9, 2019

same issue.any update?

@omares
Copy link
Member

omares commented Jan 9, 2019

Hey @trilm208 as rebuy stopped using xamarin we are not actively maintaining this project anymore. Thus there i no update on this issue and no future plans.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants