Hello Rose ,
I think the second pattern is rather correct.
努力 is more of a verb meaning 'try hard' .
You tried learning Chinese hard? I tried
This makes sense .
他不努力工作 ( ta bu nuli gongzuo )= He doesn't work hard.
我会尽最大努力 ( wo hui jin zui da nuli )= I'll try my very best.