Consti10 / FPV_VR_OS

Latest version of FPV_VR, open source under LGPL
GNU Lesser General Public License v2.1
66 stars 26 forks source link

Android Studio build fails #9

Closed new-user-name closed 2 years ago

new-user-name commented 2 years ago

Can't build FPV-VR both on Windows and Linux, AS Chipmunk, fresh install, the error is the same.

Could not determine the dependencies of task ':app:mergeDebugAssets'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
   > Could not resolve project :RenderingXCore.
     Required by:
         project :app
      > No matching configuration of project :RenderingXCore was found. The consumer was configured to find a runtime of a component, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '7.1.2' but:
          - None of the consumable configurations have attributes.
   > Could not resolve project :VideoCore.
     Required by:
         project :app
      > No matching configuration of project :VideoCore was found. The consumer was configured to find a runtime of a component, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '7.1.2' but:
          - None of the consumable configurations have attributes.
   > Could not resolve project :TelemetryCore.
     Required by:
         project :app
      > No matching configuration of project :TelemetryCore was found. The consumer was configured to find a runtime of a component, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '7.1.2' but:
          - None of the consumable configurations have attributes.
   > Could not resolve project :uvcintegration.
     Required by:
         project :app
      > No matching configuration of project :uvcintegration was found. The consumer was configured to find a runtime of a component, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '7.1.2' but:
          - None of the consumable configurations have attributes.

* 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.
Consti10 commented 2 years ago

I've added a simple github CI to make it easier to understand how to build FPV_VR.