java - 谷歌播放。为什么我有 OpenGL ES 2.0+ 而不是 1.0
问题描述
嗨,我是一名初级 java 和 android 开发人员,我想将我的应用程序放到谷歌标记上。当我的应用程序在谷歌控制台中加载时,我看到我有 openGL SE 2.0+ 而且我不知道为什么我的应用程序是 OpenGL ES 2.0+,为什么我有这个?我使用 lamda 表达式,它是我的 build.gradle :
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
apply plugin: 'me.tatarka.retrolambda'
buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'io.fabric.tools:gradle:1.22.2'
}
}
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
maven { url 'https://maven.fabric.io/public' }
}
android {
signingConfigs {
config {
keyAlias '***'
keyPassword '***'
storeFile file('D:/**.jks')
storePassword '***'
}
defaultConfig {
buildConfigField "long", "TIMESTAMP", System.currentTimeMillis() + "L"
buildConfigField 'String', 'BUILD_TIME', 'new java.text.SimpleDateFormat("MM.dd.yy HH:mm", java.util.Locale.GERMANY).format(new java.util.Date(' + System.currentTimeMillis() + 'L))'
}
}
dexOptions {
javaMaxHeapSize "4g"
}
compileSdkVersion 27
buildToolsVersion '26.0.2'
defaultConfig {
applicationId "**.***.****"
minSdkVersion 19
targetSdkVersion 27
versionCode 48
versionName "1.4.7"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
ndk {
abiFilters "armeabi-v7a", "x86", "armeabi"
}
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
}
sourceSets { main { assets.srcDirs = ['src/main/assets', 'src/main/assets/'] } }
compileOptions {
targetCompatibility 1.8
sourceCompatibility 1.8
}
}
configurations.all {
resolutionStrategy {
force 'com.android.support:recyclerview-v7:23.1.1'
force 'com.android.support:support-annotations:23.1.1'
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile(group: 'org.simpleframework', name: 'simple-xml', version: '2.7.1') {
exclude module: 'stax'
exclude module: 'stax-api'
exclude module: 'xpp3'
}
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.0'
compile('io.socket:socket.io-client:1.0.0') {
// excluding org.json which is provided by Android
exclude group: 'org.json', module: 'json'
}
compile group: 'com.google.guava', name: 'guava', version: '19.0'
compile group: 'com.squareup.okhttp3', name: 'okhttp', version: '3.2.0'
compile group: 'com.squareup.picasso', name: 'picasso', version: '2.5.0'
compile('com.crashlytics.sdk.android:crashlytics:2.8.0@aar') {
transitive = true;
}
compile('com.crashlytics.sdk.android:crashlytics-ndk:1.1.6@aar') {
transitive = true;
}
compile 'com.loopj.android:android-async-http:1.4.9'
compile 'com.android.support:appcompat-v7:24.2.0'
compile 'com.android.support:design:24.2.0'
compile 'com.daimajia.swipelayout:library:1.2.0@aar'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'net.zetetic:android-database-sqlcipher:3.5.4@aar'
compile 'com.squareup.moshi:moshi:1.2.0'
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
compile 'com.google.code.gson:gson:2.7'
compile 'org.jsoup:jsoup:1.11.1'
compile 'com.android.support:multidex:1.0.1'
testCompile 'junit:junit:4.12'
compile group: 'joda-time', name: 'joda-time', version: '2.3'
compile 'com.google.android.gms:play-services:9.2.0'
compile group: 'commons-io', name: 'commons-io', version: '2.6'
compile 'org.greenrobot:eventbus:3.0.0'
}
当我想要一个 OpenGL ES 1.0+ 时,我必须做什么
解决方案
可能您必须阅读有关您的库的文档。
推荐阅读
- python-3.x - Boto3 客户端组织的 TooManyRequestsException
- c# - 会话变量什么时候消失?
- c# - 将 PDF 加载到 PDFReader 会导致 InvalidPdfException:“重建失败:- 不是有效数字”
- c++ - 在 Slackware 14.2 64 位上使用 ACE lib 编译错误
- c++ - 子进程在 Windows 环境中以非阻塞模式从标准输入读取
- python - 使用python捕获API自动下载文件
- excel - SAP 导出到 excel,编号错误 1000
- java - Apache Camel - 如何使用多播捕获异常?
- javascript - 无法在表单提交或按钮单击时运行脚本
- python - 地牢爬行 - 地图