Eclipse:Gluon 移动魅力关闭 VideoService - 未找到
Eclipse: Gluon mobile charm down VideoService - not found
我正在关注 this 页面以创建带有视频播放功能的测试应用程序。
Eclipse
已准备就绪,Gluon
已安装。
创建了 SingleView
Gluon
Project
。
在 Gluon Mobile Settings
我添加了视频;我检查了 'video' 是否也添加到 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.**.*'
]
}
}
我还“复制并粘贴”了上面 link 中的 BasicView
到默认的 BasicView
。
注意:我必须更改构造函数,因为 View
构造函数不接受 String
...
ALL 似乎没问题,但 VideoService 没有得到解决:
NOTE: Project and External Dependencies
of Eclipse
shows a list of charm-down-plugins but NOT video
NOTE: 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 as gradle dependencies
shows me that VIDEO is a dependency?!
RMB on Project -> Gradle -> Refresh Gradle Project
我正在关注 this 页面以创建带有视频播放功能的测试应用程序。
Eclipse
已准备就绪,Gluon
已安装。
创建了 SingleView
Gluon
Project
。
在 Gluon Mobile Settings
我添加了视频;我检查了 'video' 是否也添加到 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.**.*'
]
}
}
我还“复制并粘贴”了上面 link 中的 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