gpt4 book ai didi

android - eclipse : Gluon mobile charm down VideoService - not found

转载 作者:行者123 更新时间:2023-11-29 23:53:21 31 4
gpt4 key购买 nike

我正在关注 this用于创建具有视频播放功能的测试应用的页面。

Eclipse 已准备就绪,Gluon 已安装。创建了一个 SingleView Gluon Project。在 Gluon Mobile Settings 中,我添加了视频;我检查了 build.gradle

中是否也添加了“video”

所以文件看起来像:

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 没有得到解决: error resolving VideoService - other Services get listed

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

关于android - eclipse : Gluon mobile charm down VideoService - not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50649903/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com