質問するログイン新規登録

質問編集履歴

5

エラーの追記

2019/03/31 12:43

投稿

Kazuma.
Kazuma.

スコア12

title CHANGED
@@ -1,1 +1,1 @@
1
- android studioのエラーついて
1
+ 「Sync Project with Gradle FilesをするとERROR: Unknown host'プロキシ名'...なる
body CHANGED
@@ -2,7 +2,9 @@
2
2
 
3
3
  URL is not registered(Settings | Languages & Framewords | Schemas DTLs)
4
4
 
5
- です。さまざまなサイト見て試してみたのでが直りません。誰か教えていただけませんか?
5
+ です。あと「Sync Project with Gradle Filesをすると
6
+ ERROR: Unknown host
7
+ 'プロキシ名'You may need to adjust the proxy settings in Gradle.になります。
6
8
 
7
9
  ```
8
10
  <?xml version="1.0" encoding="utf-8"?>

4

修正

2019/03/31 12:43

投稿

Kazuma.
Kazuma.

スコア12

title CHANGED
File without changes
body CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  です。さまざまなサイトを見て試してみたのですが直りません。誰か教えていただけませんか?
6
6
 
7
- '''
7
+ ```
8
8
  <?xml version="1.0" encoding="utf-8"?>
9
9
  <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
10
10
  xmlns:app="http://schemas.android.com/apk/res-auto"
@@ -23,4 +23,4 @@
23
23
  app:layout_constraintTop_toTopOf="parent" />
24
24
 
25
25
  </android.support.constraint.ConstraintLayout>
26
- '''
26
+ ```

3

修正

2019/03/30 07:38

投稿

Kazuma.
Kazuma.

スコア12

title CHANGED
File without changes
body CHANGED
@@ -4,6 +4,7 @@
4
4
 
5
5
  です。さまざまなサイトを見て試してみたのですが直りません。誰か教えていただけませんか?
6
6
 
7
+ '''
7
8
  <?xml version="1.0" encoding="utf-8"?>
8
9
  <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
9
10
  xmlns:app="http://schemas.android.com/apk/res-auto"
@@ -21,4 +22,5 @@
21
22
  app:layout_constraintRight_toRightOf="parent"
22
23
  app:layout_constraintTop_toTopOf="parent" />
23
24
 
24
- </android.support.constraint.ConstraintLayout>
25
+ </android.support.constraint.ConstraintLayout>
26
+ '''

2

追加記入

2019/03/30 07:33

投稿

Kazuma.
Kazuma.

スコア12

title CHANGED
File without changes
body CHANGED
@@ -2,4 +2,23 @@
2
2
 
3
3
  URL is not registered(Settings | Languages & Framewords | Schemas DTLs)
4
4
 
5
- です。さまざまなサイトを見て試してみたのですが直りません。誰か教えていただけませんか?
5
+ です。さまざまなサイトを見て試してみたのですが直りません。誰か教えていただけませんか?
6
+
7
+ <?xml version="1.0" encoding="utf-8"?>
8
+ <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
9
+ xmlns:app="http://schemas.android.com/apk/res-auto"
10
+ xmlns:tools="http://schemas.android.com/tools"
11
+ android:layout_width="match_parent"
12
+ android:layout_height="match_parent"
13
+ tools:context=".sampleActivity">
14
+
15
+ <TextView
16
+ android:layout_width="wrap_content"
17
+ android:layout_height="wrap_content"
18
+ android:text="Hello World!"
19
+ app:layout_constraintBottom_toBottomOf="parent"
20
+ app:layout_constraintLeft_toLeftOf="parent"
21
+ app:layout_constraintRight_toRightOf="parent"
22
+ app:layout_constraintTop_toTopOf="parent" />
23
+
24
+ </android.support.constraint.ConstraintLayout>

1

誤字脱字

2019/03/30 07:25

投稿

Kazuma.
Kazuma.

スコア12

title CHANGED
File without changes
body CHANGED
@@ -1,6 +1,5 @@
1
1
  今android studioでアプリを作成しているのですが、起動と同時にXMLのほうでエラーが出て実行ができません。エラーの内容が
2
2
 
3
- URL is not registered(Settings | Languages & Framewords | Schemas
3
+ URL is not registered(Settings | Languages & Framewords | Schemas DTLs)
4
- DTLs)
5
4
 
6
5
  です。さまざまなサイトを見て試してみたのですが直りません。誰か教えていただけませんか?