2016-10-08 8 views

Antwort

0

Das Problem, das ich kennengelernt, als ich Databinding verwenden. Wenn ich die Databinding-Konfiguration in build.gradle entferne, wird das Problem behoben.

+0

Oh, das ist das Problem! Aber ich brauche Databinding ... Ist das ein Bug oder falsche Konfiguration? – Rox

0

Warum haben Sie "com.example.roxas.myapplication.a" innerhalb "com.example.roxas.myapplication" gehalten?

Es sollte "a" statt "com.example.roxas.myapplication.a" in Paket seine "com.example.roxas.myapplication"

+0

Also, dass das Problem, das ich traf ... Wenn ich Caches ungültig/Neustart, es ist Show wie du sagst. "a" anstelle von "com.example.roxas.myapplication.a" im Paket "com.example.roxas.myapplication" .Nach dem Abschluss des Builds ist das Problem gekommen ... – Rox

+0

Aber in Klasse A ist das Paket "com .example.roxas.myapplication.a "NOT" com.example.roxas.myapplication.com.example.roxas.myapplication.a " – Rox

+0

Ich sage, ändern Sie Ihre Projekthierarchie zu einer nur innerhalb com.example.roxas.myapplication welche enthält Klasse A – Sanjeet