Log in or register to post comments

My camera don't open

February 20, 2019 - 9:00pm #1

I developed a app with Unity and Vuforia, and when I export this app to apk, I install this apk in my mobile phone and appears the icon, but when I push the icon, don't open the camera, only can see a black screen. Do you know what is the problem?

thanks in advance, best regards

My camera don't open

July 19, 2019 - 12:30am #8

Hi @BerndR

The error you are having is related to below:

Failed to install the following Android SDK packages as some licences have not been accepted.

You have to accept the licenses for android SDK. A short search on google will provide you the steps on how to proceed further.

Please also make sure that your android sdk matches your phones android version.

Thank you,

Vuforia Engine Support

 

 

 

My camera don't open

July 15, 2019 - 12:30am #7

shadowgun1102 wrote:

I developed a app with Unity and Vuforia, and when I export this app to apk, I install this apk in my mobile phone and appears the icon, but when I push the icon, don't open the camera, only can see a black screen. Do you know what is the problem?

thanks in advance, best regards

 

I faced the same issue, still facing that, no solution yet.

My camera don't open

May 14, 2019 - 10:30am #6

On 1804 i become a compile error:

 

CommandInvokationFailure: Gradle build failed.

E:\Unity\2018.4\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\OpenJDK\Windows\bin\java.exe -classpath "E:\Unity\2018.4\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-4.6.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "assembleRelease"

stderr[

FAILURE: Build failed with an exception.

* What went wrong:

A problem occurred configuring root project 'gradleOut'.

> Failed to install the following Android SDK packages as some licences have not been accepted.

     build-tools;28.0.2 Android SDK Build-Tools 28.0.2

  To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.

  Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio-ui/export-licenses.html

 

  Using Android SDK: C:\Program Files (x86)\Android\android-sdk

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 6s

]

stdout[

WARNING: The specified Android SDK Build Tools version (23.0.3) is ignored, as it is below the minimum supported version (28.0.2) for Android Gradle Plugin 3.2.0.

Android SDK Build Tools 28.0.2 will be used.

To suppress this warning, remove "buildToolsVersion '23.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.

File C:\Users\Bernd1\.android\repositories.cfg could not be loaded.

Checking the license for package Android SDK Build-Tools 28.0.2 in C:\Program Files (x86)\Android\android-sdk\licenses

Warning: License for package Android SDK Build-Tools 28.0.2 not accepted.

]

exit code: 1

UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <3c0b2fdf8ace4ae49f054e74ca773557>:0)

UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <3c0b2fdf8ace4ae49f054e74ca773557>:0)

UnityEditor.Android.Command.Run (System.String command, System.String args, System.String workingdir, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <3c0b2fdf8ace4ae49f054e74ca773557>:0)

UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action`1[T] progress, System.String error) (at <3c0b2fdf8ace4ae49f054e74ca773557>:0)

UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1[T] progress) (at <3c0b2fdf8ace4ae49f054e74ca773557>:0)

Rethrow as GradleInvokationException: Gradle build failed

UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1[T] progress) (at <3c0b2fdf8ace4ae49f054e74ca773557>:0)

UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <3c0b2fdf8ace4ae49f054e74ca773557>:0)

UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <3c0b2fdf8ace4ae49f054e74ca773557>:0)

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

What is here the Problem?

AttachmentSize
Image icon error1.jpg16.77 KB
Image icon error2.jpg17.91 KB
Image icon error3.jpg25.24 KB
Image icon error4.jpg12.14 KB

My camera don't open

May 13, 2019 - 8:57am #5

Hello @BerndR,

At this time we *have not* been able to reproduce this issue, so to the best of our knowledge all supported versions work with Vuforia Engine SDK:

https://developer.vuforia.com/library/articles/Solution/Vuforia-Supported-Versions

Thanks,

Vuforia Engine Support

My camera don't open

May 13, 2019 - 12:38am #4

What Version of Unity and Vuforia working together with the camera on android?

My camera don't open

May 6, 2019 - 8:32am #3

Hello,

If you can reproduce this using the Vuforia Engine Core samples (unaltered), then please reply with the Unity Editor version, the Engine SDK version and the device model: Settings->About phone/device->Model number

Thanks,

Vuforia Engine Support

My camera don't open

May 4, 2019 - 2:47pm #2

shadowgun1102 wrote:

I developed a app with Unity and Vuforia, and when I export this app to apk, I install this apk in my mobile phone and appears the icon, but when I push the icon, don't open the camera, only can see a black screen. Do you know what is the problem?

thanks in advance, best regards

I have nearly the same Problem :-(((

The camera is not open (is black)

 

Log in or register to post comments