在清单文件里声明了service,但是执行startActivity(intent);的时候找不到service?

按钮单击事件

       bt_get_image.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                final Intent intent=new Intent(MainActivity.this,earthService.class);
                startActivity(intent);

                Log.e(TAG,"执行前");
                // 让异步任务执行耗时操作
                new DownloadImage().execute(getpath());
            }
        });

安卓清单文件

<service
            android:name=".earthService"
            android:enabled="true"
            android:exported="true"></service>

报错

android.content.ActivityNotFoundException: Unable to find explicit activity class {com.djm.fqbz/com.djm.fqbz.earthService}; have you declared this activity in your AndroidManifest.xml?

虽然我在清单文件里声明了earthService,但是执行startActivity(intent);的时候报错,有没有大佬知道这是怎么回事?

startActivity是启动activity的,services 是使用startService()。