odules:ty:compileJavaWARNING

modules:ty:compileJava WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by worker.org.gradle.internal.reflect.JavaMethod (file:/Users/---/.gradle/caches/3.0/workerMain/gradle-worker.jar) to method java.lang.ClassLoader.getPackages() WARNING: Please consider reporting this to the maintainers of worker.org.gradle.internal.reflect.JavaMethod WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release

Activity is not assigned to Android.app.Activity

Just make sure , you extends the same activity .

Firstly, you only declare activities in manifest file, not fragments. So remove this line from manifest file
<activity
        android:name=".FeedbackMain"
        android:label="@string/title_activity_feedback_main" >
    </activity>
Secondly, if you want to use actionbar, you class should extend ActionBarActivity not FragmentActivity. so change your mainactivity from
public class MainActivity extends FragmentActivity {
to
public class MainActivity extends ActionBarActivity{

details : http://stackoverflow.com/questions/30486389/activity-is-not-assigned-to-android-app-activity-manifest-xml

Commentaires

Posts les plus consultés de ce blog

Failed to execute goal org.codehaus.mojo:exec-maven-plugin

Cannot find System Java Compiler