小编mag*_*kir的帖子

返回ERROR:where子句中不存在列(POSTGRESQL)

我需要选择一个表,但是当我尝试使用某些列的"where"时,它会保持返回错误.

这是我的代码,我附上一个图像文件的细节.

sirima=# select * from sirima.program_studi;
 kode |      nama       |  jenis_kelas  |          nama_fakultas          | jenjang
------+-----------------+---------------+---------------------------------+---------
    1 | Kedokteran      | Reguler       | Kedokteran                      | S1
    2 | Matematika      | Reguler       | Matematika dan Pengetahuan Alam | S1
    3 | Teknik Sipil    | Reguler       | Teknik                          | S1
    4 | Ilmu Komputer   | Reguler       | Ilmu Komputer                   | S1
    5 | Kedokteran      | Reguler       | Kedokteran                      | S2
    6 | Fisika          | Reguler       | Matematika dan Pengetahuan Alam | S2 …
Run Code Online (Sandbox Code Playgroud)

sql postgresql

12
推荐指数
2
解决办法
4442
查看次数

zipalign验证失败resources.arsc BAD-1

在此输入图像描述

我尝试将我的应用程序上传到gplay但失败,因为我的apk没有zipaligned.我尝试zipalign但我得到验证失败.真的没有想法,有人请告诉我该怎么做.提前致谢.

android compilation zipalign

5
推荐指数
3
解决办法
4303
查看次数

已存在的程序类型:com.google.zxing.ChecksumException

我尝试使用zxing库来扫描qrcode,在我运行这样的app之前没有错误:

Program type already present: com.google.zxing.ChecksumException

Message{kind=ERROR, text=Program type already present: com.google.zxing.ChecksumException, sources=[Unknown source file], tool name=Optional.of(D8)}
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述

这是我的傻瓜:

android {
    compileSdkVersion 26
    defaultConfig {
        applicationId "com.std.scanner"
        minSdkVersion 18
        targetSdkVersion 26
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation 'com.android.support:appcompat-v7:26.1.0'
    implementation 'com.android.support:design:26.1.0'
    implementation 'com.journeyapps:zxing-android-embedded:3.6.0'
}
Run Code Online (Sandbox Code Playgroud)

我想我应该在我的gradle dependecies中使用"exclude",但我不知道如何编写代码.请帮助,提前谢谢.

android qr-code zxing

4
推荐指数
2
解决办法
5210
查看次数

更改箭头颜色材质 ExposedDropdownMenu / TextInputLayout

我想将箭头颜色更改为白色。 怎么做? 这是我的代码

我想将箭头颜色更改为白色。怎么做?这是我的代码

<com.google.android.material.textfield.TextInputLayout
    style="@style/ExposedDropdownMenu"
    android:hint="Select"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">

    <AutoCompleteTextView
        android:focusable="false"
        android:textSize="17sp"
        android:padding="15dp"
        android:textColorHint="@color/white"
        android:textColor="@color/white"
        android:id="@+id/actv_pool"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        tools:ignore="LabelFor" />

</com.google.android.material.textfield.TextInputLayout>
Run Code Online (Sandbox Code Playgroud)

这是我的风格:

<style name="ExposedDropdownMenu" parent="Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu">
    <item name="boxStrokeColor">#fff</item>
    <item name="boxStrokeWidth">1dp</item>
    <item name="android:textColorHint">#fff</item>
</style>
Run Code Online (Sandbox Code Playgroud)

我希望很清楚。提前致谢。

android material-design android-textinputlayout material-components material-components-android

4
推荐指数
2
解决办法
1434
查看次数