Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49255

Ionic and WebGL

$
0
0

@irok84 wrote:

Hello.

My client wants to embed 360° panorama preview from https://pannellum.org/ in Ionic app.
I prepared simple testing application with pannellum and it works only on browser and iOS. On Android (4 and 5) it alerts: “Your browser does not have the necessary WebGL support to display this panorama.”. Is it true? It’s really impossible to run WebGL in Ionic on Android?

I tried cordova-plugin-crosswalk-webview, after installing it I had errors:

BUILD FAILED in 22s
:app:processArm64DebugResources FAILED
32 actionable tasks: 15 executed, 17 up-to-date
(node:19133) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: /home/jakub/Pulpit/ionic-360/test360/platforms/android/gradlew: Command failed with exit code 1 Error output:
/home/jakub/.gradle/caches/transforms-1/files-1.1/xwalk_core_library-23.53.589.4.aar/3045e219194c9d060eb63169bf319af7/res/values/dimens_03.xml:14:5-51: AAPT: error: resource android:attr/fontVariationSettings not found.
    
/home/jakub/.gradle/caches/transforms-1/files-1.1/xwalk_core_library-23.53.589.4.aar/3045e219194c9d060eb63169bf319af7/res/values/dimens_03.xml:14:5-51: AAPT: error: resource android:attr/ttcIndex not found.
    
/home/jakub/Pulpit/ionic-360/test360/platforms/android/app/build/intermediates/incremental/mergeArm64DebugResources/merged.dir/values/values.xml:100: error: resource android:attr/fontVariationSettings not found.
/home/jakub/Pulpit/ionic-360/test360/platforms/android/app/build/intermediates/incremental/mergeArm64DebugResources/merged.dir/values/values.xml:100: error: resource android:attr/ttcIndex not found.
error: failed linking references.

Failed to execute aapt
com.android.ide.common.process.ProcessException: Failed to execute aapt

My ionic info:

$ ionic info

Ionic:

   ionic (Ionic CLI)  : 4.0.1 (/home/jakub/.nvm/versions/node/v8.1.0/lib/node_modules/ionic)
   Ionic Framework    : ionic-angular 3.9.2
   @ionic/app-scripts : 3.2.0

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : android 7.1.1, ios 4.5.5

System:

   Android SDK Tools : 26.1.1
   NodeJS            : v8.1.0 (/home/jakub/.nvm/versions/node/v8.1.0/bin/node)
   npm               : 6.1.0
   OS                : Linux 4.4

Environment:

   ANDROID_HOME : /home/jakub/Android/Sdk

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49255

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>