我需要选择一个表,但是当我尝试使用某些列的"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) 我尝试使用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",但我不知道如何编写代码.请帮助,提前谢谢.
我想将箭头颜色更改为白色。怎么做?这是我的代码
<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
android ×3
compilation ×1
material-components-android ×1
postgresql ×1
qr-code ×1
sql ×1
zipalign ×1
zxing ×1