- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在关注 this用于创建具有视频播放功能的测试应用的页面。
Eclipse
已准备就绪,Gluon
已安装。创建了一个 SingleView
Gluon
Project
。在 Gluon Mobile Settings
中,我添加了视频;我检查了 build.gradle
所以文件看起来像:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'org.javafxports:jfxmobile-plugin:1.3.11'
}
}
apply plugin: 'org.javafxports.jfxmobile'
repositories {
jcenter()
maven {
url 'http://nexus.gluonhq.com/nexus/content/repositories/releases'
}
}
mainClassName = 'com.gluonapplication.GluonMultimediaApplication'
dependencies {
compile 'com.gluonhq:charm:5.0.0'
}
jfxmobile {
downConfig {
version = '3.8.0'
// Do not edit the line below. Use Gluon Mobile Settings in your project context menu instead
plugins 'display', 'lifecycle', 'statusbar', 'storage', 'video'
}
android {
manifest = 'src/android/AndroidManifest.xml'
}
ios {
infoPList = file('src/ios/Default-Info.plist')
forceLinkClasses = [
'com.gluonhq.**.*',
'javax.annotations.**.*',
'javax.inject.**.*',
'javax.json.**.*',
'org.glassfish.json.**.*'
]
}
}
我还将上面链接中的 BasicView
“复制并粘贴”到默认的 BasicView
上。
注意:我必须更改构造函数,因为View
构造函数不接受String
...
ALL 似乎很好,但 VideoService 没有得到解决:
NOTE:
Project and External Dependencies
ofEclipse
shows a list of charm-down-plugins but NOT videoNOTE:
gradle dependencies
shows me the version of video service (3.6.0)
我错过了什么?
UPDATE:
gradle clean
,gradle --refresh-dependencies
does not have any affect (which seems crazy asgradle dependencies
shows me that VIDEO is a dependency?!
最佳答案
RMB on Project -> Gradle -> Refresh Gradle Project
关于android - eclipse : Gluon mobile charm down VideoService - not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50649903/
我正在关注 this用于创建具有视频播放功能的测试应用的页面。 Eclipse 已准备就绪,Gluon 已安装。创建了一个 SingleView Gluon Project。在 Gluon Mobil
我正在使用 VideoService 在我的应用程序中播放本地音频文件 (mp3),它在应用程序处于事件状态时工作正常,无论是在 Android 还是 iPhone 上。但是在 iPhone 上,当应
我是一名优秀的程序员,十分优秀!